diff --git a/.eslintrc.json b/.eslintrc.json index cb60d93..e5d1803 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -8,7 +8,7 @@ "amd": true, "node": true }, - "ignorePatterns": ["src/version.ts", "jest.config.js"], + "ignorePatterns": ["src/version.ts", "jest.config.js", "dist"], "rules": { "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/no-explicit-any": "off", diff --git a/.github/workflows/codeQL.yml b/.github/workflows/codeQL.yml index 7edfa7c..0dce57e 100644 --- a/.github/workflows/codeQL.yml +++ b/.github/workflows/codeQL.yml @@ -18,12 +18,14 @@ jobs: analyze: name: Analyze - runs-on: windows-latest + runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write - + defaults: + run: + shell: bash strategy: fail-fast: false @@ -33,6 +35,10 @@ jobs: # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support steps: + # Checkout must be first + - name: Checkout repository + uses: actions/checkout@v4 + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 @@ -41,19 +47,19 @@ jobs: # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - - uses: actions/checkout@v3 - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # Run CodeQL analysis - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: + category: "/language:${{matrix.language}}" category: "/language:${{matrix.language}}" \ No newline at end of file diff --git a/.github/workflows/pr-validation.yaml b/.github/workflows/pr-validation.yaml index 7cd88d2..976bd08 100644 --- a/.github/workflows/pr-validation.yaml +++ b/.github/workflows/pr-validation.yaml @@ -1,45 +1,48 @@ -name: 🚀 Test and Build - -on: - push: - branches: - - main - pull_request: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - - env: - NODE_VER: 16.14.0 - - services: - # docker run --name durabletask-sidecar -p 4001:4001 --env 'DURABLETASK_SIDECAR_LOGLEVEL=Debug' --rm cgillum/durabletask-sidecar:latest start --backend Emulator - durabletask-sidecar: - image: cgillum/durabletask-sidecar:latest - ports: - - 4001:4001 - env: - DURABLETASK_SIDECAR_LOGLEVEL: Debug - DURABLETASK_STORAGE_PROVIDER: Emulator - - steps: - - name: 📥 Checkout code - uses: actions/checkout@v2 - - - name: ⚙️ NodeJS - Install - uses: actions/setup-node@v2 - with: - node-version: ${{ env.NODE_VER }} - registry-url: "https://registry.npmjs.org" - - - name: ⚙️ Install dependencies - run: npm install - - - name: ✅ Run unit tests - run: npm test test/unit - - - name: ✅ Run e2e tests - run: ./scripts/test-e2e.sh +name: 🚀 Test and Build + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + env: + NODE_VER: 22 + + services: + # docker run --name durabletask-sidecar -p 4001:4001 --env 'DURABLETASK_SIDECAR_LOGLEVEL=Debug' --rm cgillum/durabletask-sidecar:latest start --backend Emulator + durabletask-sidecar: + image: cgillum/durabletask-sidecar:latest + ports: + - 4001:4001 + env: + DURABLETASK_SIDECAR_LOGLEVEL: Debug + DURABLETASK_STORAGE_PROVIDER: Emulator + + steps: + - name: 📥 Checkout code + uses: actions/checkout@v4 + + - name: ⚙️ NodeJS - Install + uses: actions/setup-node@v4 + with: + node-version: ${{ env.NODE_VER }} + registry-url: "https://registry.npmjs.org" + + - name: ⚙️ Install dependencies + run: npm install + + - name: 🔨 Build packages + run: npm run build + + - name: ✅ Run unit tests + run: npm run test:unit + + - name: ✅ Run e2e tests + run: npm run test:e2e diff --git a/.gitignore b/.gitignore index 788a0fd..fa99ca6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,155 +1,159 @@ -### vscode ### -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json -*.code-workspace - -### DotnetCore ### -# .NET Core build folders -bin/ -obj/ - -# Common node modules locations -/node_modules -/wwwroot/node_modules - -### Node ### -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional stylelint cache -.stylelintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env -.env.test -.env*.local - -# parcel-bundler cache (https://parceljs.org/) -.cache -.parcel-cache - -# Next.js build output -.next - -# Nuxt.js build / generate output -.nuxt -dist - -# Storybook build outputs -.out -.storybook-out -storybook-static - -# rollup.js default build output -dist/ - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and not Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port - -# Stores VSCode versions used for testing VSCode extensions -.vscode-test - -# Temporary folders -tmp/ -temp/ - -# dapr-js-sdk -build/ - -# version file is auto-generated -src/version.ts - -### vscode ### -.vscode -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json +### vscode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +### DotnetCore ### +# .NET Core build folders +bin/ +obj/ + +# Common node modules locations +/node_modules +/wwwroot/node_modules + +### Node ### +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test +.env*.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next + +# Nuxt.js build / generate output +.nuxt +dist + +# Storybook build outputs +.out +.storybook-out +storybook-static + +# rollup.js default build output +dist/ + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# Temporary folders +tmp/ +temp/ + +# dapr-js-sdk +build/ + +# version files are auto-generated by prebuild +packages/**/version.ts + +# Generated proto bindings - regenerated at build time from internal/protocol/ +# Following .NET's pattern of not committing generated protobuf code +**/src/proto/ + +### vscode ### +.vscode +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json *.code-workspace \ No newline at end of file diff --git a/.prettierignore b/.prettierignore index bbb10ce..0cfea3a 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,4 +6,4 @@ dist # don't lint nyc coverage output coverage # don't lint proto files and output -proto \ No newline at end of file +proto diff --git a/eng/templates/build.yml b/eng/templates/build.yml index 88ca92a..2c945da 100644 --- a/eng/templates/build.yml +++ b/eng/templates/build.yml @@ -15,6 +15,8 @@ jobs: inputs: versionSpec: 20.x displayName: "Install Node.js" + + # Build main package - script: npm ci displayName: "npm ci" - script: npm run prebuild @@ -25,9 +27,29 @@ jobs: displayName: "npm prune --production" # so that only production dependencies are included in SBOM - script: npm pack build/ displayName: "pack npm package" + + # Build azure-managed extension package + - script: | + cd extensions/durabletask-js-azuremanaged + npm ci + npm run build + npm run test + npm prune --production + displayName: "Build azure-managed extension" + - script: | + cd extensions/durabletask-js-azuremanaged + npm pack + displayName: "pack azure-managed extension" + - task: CopyFiles@2 displayName: "Copy package to staging" inputs: SourceFolder: $(System.DefaultWorkingDirectory) Contents: "*.tgz" + TargetFolder: $(Build.ArtifactStagingDirectory)/buildoutputs + - task: CopyFiles@2 + displayName: "Copy azure-managed extension to staging" + inputs: + SourceFolder: $(System.DefaultWorkingDirectory)/extensions/durabletask-js-azuremanaged + Contents: "*.tgz" TargetFolder: $(Build.ArtifactStagingDirectory)/buildoutputs \ No newline at end of file diff --git a/examples/azure-managed-dts.ts b/examples/azure-managed-dts.ts new file mode 100644 index 0000000..13c640e --- /dev/null +++ b/examples/azure-managed-dts.ts @@ -0,0 +1,160 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// This sample demonstrates how to use the Azure Managed Durable Task Scheduler (DTS) +// with the portable Durable Task JavaScript SDK. Azure Managed DTS provides a fully +// managed, serverless backend for running durable orchestrations in the cloud. + +// Load environment variables from .env file (recommended for local development) +import * as dotenv from "dotenv"; +import * as path from "path"; +dotenv.config({ path: path.join(__dirname, ".env") }); + +import { DefaultAzureCredential } from "@azure/identity"; +import { + createAzureManagedClient, + createAzureManagedWorkerBuilder, +} from "../extensions/durabletask-js-azuremanaged/build"; +import { ActivityContext } from "../src/task/context/activity-context"; +import { OrchestrationContext } from "../src/task/context/orchestration-context"; +import { TOrchestrator } from "../src/types/orchestrator.type"; +import { whenAll } from "../src/task"; +import { Task } from "../src/task/task"; + +// Wrap the entire code in an immediately-invoked async function +(async () => { + // Configuration for Azure Managed DTS + // These values should be set as environment variables + const endpoint = process.env.AZURE_DTS_ENDPOINT; + const taskHubName = process.env.AZURE_DTS_TASKHUB; + const connectionString = process.env.AZURE_DTS_CONNECTION_STRING; + + // Validate configuration + if (!connectionString && (!endpoint || !taskHubName)) { + console.error( + "Error: Either AZURE_DTS_CONNECTION_STRING or both AZURE_DTS_ENDPOINT and AZURE_DTS_TASKHUB must be set.", + ); + console.log("\nUsage:"); + console.log(" Option 1: Create a .env file in the examples directory (recommended):"); + console.log( + " AZURE_DTS_CONNECTION_STRING=Endpoint=https://myservice.durabletask.io;Authentication=DefaultAzure;TaskHub=myTaskHub", + ); + console.log(" or"); + console.log(" AZURE_DTS_ENDPOINT=https://myservice.durabletask.io"); + console.log(" AZURE_DTS_TASKHUB=myTaskHub"); + console.log("\n Option 2: Set environment variables directly"); + console.log(" export AZURE_DTS_CONNECTION_STRING=..."); + process.exit(1); + } + + // Define an activity function that greets a city + const greetCity = async (_: ActivityContext, city: string): Promise => { + console.log(`Activity executing: greeting ${city}`); + return `Hello, ${city}!`; + }; + + // Define an activity function that processes work items + const processWorkItem = async (_: ActivityContext, item: string): Promise => { + console.log(`Activity executing: processing ${item}`); + // Simulate some processing time + await new Promise((resolve) => setTimeout(resolve, 500)); + return item.length; + }; + + // Define an orchestrator that calls activities in sequence + const sequenceOrchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { + const cities = ["Tokyo", "Seattle", "London", "Paris"]; + const greetings: string[] = []; + + for (const city of cities) { + const greeting = yield ctx.callActivity(greetCity, city); + greetings.push(greeting); + } + + return greetings; + }; + + // Define an orchestrator that demonstrates fan-out/fan-in pattern + const fanOutFanInOrchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { + const workItems = ["item-1", "item-2", "item-3", "item-4", "item-5"]; + + // Fan-out: schedule all activities in parallel + const tasks: Task[] = []; + for (const item of workItems) { + tasks.push(ctx.callActivity(processWorkItem, item)); + } + + // Fan-in: wait for all activities to complete + const results: number[] = yield whenAll(tasks); + + // Aggregate results + const total = results.reduce((sum, val) => sum + val, 0); + return { workItemCount: workItems.length, totalCharacters: total }; + }; + + let client; + let worker; + + try { + // Create client and worker using connection string or explicit parameters + if (connectionString) { + console.log("Using connection string authentication..."); + client = createAzureManagedClient(connectionString); + worker = createAzureManagedWorkerBuilder(connectionString) + .addOrchestrator(sequenceOrchestrator) + .addOrchestrator(fanOutFanInOrchestrator) + .addActivity(greetCity) + .addActivity(processWorkItem) + .build(); + } else { + console.log("Using DefaultAzureCredential authentication..."); + const credential = new DefaultAzureCredential(); + client = createAzureManagedClient(endpoint!, taskHubName!, credential); + worker = createAzureManagedWorkerBuilder(endpoint!, taskHubName!, credential) + .addOrchestrator(sequenceOrchestrator) + .addOrchestrator(fanOutFanInOrchestrator) + .addActivity(greetCity) + .addActivity(processWorkItem) + .build(); + } + + // Start the worker + console.log("Starting worker..."); + await worker.start(); + console.log("Worker started successfully!"); + + // Run the sequence orchestrator + console.log("\n--- Running Sequence Orchestrator ---"); + const sequenceId = await client.scheduleNewOrchestration(sequenceOrchestrator); + console.log(`Orchestration scheduled with ID: ${sequenceId}`); + + const sequenceState = await client.waitForOrchestrationCompletion(sequenceId, undefined, 60); + console.log(`Sequence orchestration completed!`); + console.log(`Result: ${sequenceState?.serializedOutput}`); + + // Run the fan-out/fan-in orchestrator + console.log("\n--- Running Fan-Out/Fan-In Orchestrator ---"); + const fanOutId = await client.scheduleNewOrchestration(fanOutFanInOrchestrator); + console.log(`Orchestration scheduled with ID: ${fanOutId}`); + + const fanOutState = await client.waitForOrchestrationCompletion(fanOutId, undefined, 60); + console.log(`Fan-out/fan-in orchestration completed!`); + console.log(`Result: ${fanOutState?.serializedOutput}`); + + console.log("\n--- All orchestrations completed successfully! ---"); + } catch (error) { + console.error("Error:", error); + process.exit(1); + } finally { + // Cleanup: stop worker and client + console.log("\nStopping worker and client..."); + if (worker) { + await worker.stop(); + } + if (client) { + await client.stop(); + } + console.log("Cleanup complete."); + process.exit(0); + } +})(); diff --git a/examples/azure-managed/.env.example b/examples/azure-managed/.env.example new file mode 100644 index 0000000..78fe892 --- /dev/null +++ b/examples/azure-managed/.env.example @@ -0,0 +1,10 @@ +# Azure Managed Durable Task Scheduler (DTS) Configuration +# Copy this file to .env and update the values for your environment. +# Option 1: Using connection string (recommended) +# Supported authentication types: DefaultAzure, ManagedIdentity, WorkloadIdentity, +# Environment, AzureCli, AzurePowerShell, VisualStudioCode, InteractiveBrowser, None +AZURE_DTS_CONNECTION_STRING=Endpoint=https://your-scheduler.eastus.durabletask.io;Authentication=DefaultAzure;TaskHub=your-taskhub +# Option 2: Using explicit parameters (uses DefaultAzureCredential) +# Uncomment these lines and comment out AZURE_DTS_CONNECTION_STRING above +# AZURE_DTS_ENDPOINT=https://your-scheduler.eastus.durabletask.io +# AZURE_DTS_TASKHUB=your-taskhub \ No newline at end of file diff --git a/examples/azure-managed/index.ts b/examples/azure-managed/index.ts new file mode 100644 index 0000000..630edbe --- /dev/null +++ b/examples/azure-managed/index.ts @@ -0,0 +1,160 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// This sample demonstrates how to use the Azure Managed Durable Task Scheduler (DTS) +// with the portable Durable Task JavaScript SDK. Azure Managed DTS provides a fully +// managed, serverless backend for running durable orchestrations in the cloud. + +// Load environment variables from .env file (recommended for local development) +import * as dotenv from "dotenv"; +import * as path from "path"; +dotenv.config({ path: path.join(__dirname, ".env") }); + +import { DefaultAzureCredential } from "@azure/identity"; +import { + createAzureManagedClient, + createAzureManagedWorkerBuilder, +} from "@microsoft/durabletask-js-azuremanaged"; +import { ActivityContext } from "@microsoft/durabletask-js/dist/task/context/activity-context"; +import { OrchestrationContext } from "@microsoft/durabletask-js/dist/task/context/orchestration-context"; +import { TOrchestrator } from "@microsoft/durabletask-js/dist/types/orchestrator.type"; +import { whenAll } from "@microsoft/durabletask-js/dist/task"; +import { Task } from "@microsoft/durabletask-js/dist/task/task"; + +// Wrap the entire code in an immediately-invoked async function +(async () => { + // Configuration for Azure Managed DTS + // These values should be set as environment variables + const endpoint = process.env.AZURE_DTS_ENDPOINT; + const taskHubName = process.env.AZURE_DTS_TASKHUB; + const connectionString = process.env.AZURE_DTS_CONNECTION_STRING; + + // Validate configuration + if (!connectionString && (!endpoint || !taskHubName)) { + console.error( + "Error: Either AZURE_DTS_CONNECTION_STRING or both AZURE_DTS_ENDPOINT and AZURE_DTS_TASKHUB must be set.", + ); + console.log("\nUsage:"); + console.log(" Option 1: Create a .env file in the examples directory (recommended):"); + console.log( + " AZURE_DTS_CONNECTION_STRING=Endpoint=https://myservice.durabletask.io;Authentication=DefaultAzure;TaskHub=myTaskHub", + ); + console.log(" or"); + console.log(" AZURE_DTS_ENDPOINT=https://myservice.durabletask.io"); + console.log(" AZURE_DTS_TASKHUB=myTaskHub"); + console.log("\n Option 2: Set environment variables directly"); + console.log(" export AZURE_DTS_CONNECTION_STRING=..."); + process.exit(1); + } + + // Define an activity function that greets a city + const greetCity = async (_: ActivityContext, city: string): Promise => { + console.log(`Activity executing: greeting ${city}`); + return `Hello, ${city}!`; + }; + + // Define an activity function that processes work items + const processWorkItem = async (_: ActivityContext, item: string): Promise => { + console.log(`Activity executing: processing ${item}`); + // Simulate some processing time + await new Promise((resolve) => setTimeout(resolve, 500)); + return item.length; + }; + + // Define an orchestrator that calls activities in sequence + const sequenceOrchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { + const cities = ["Tokyo", "Seattle", "London", "Paris"]; + const greetings: string[] = []; + + for (const city of cities) { + const greeting = yield ctx.callActivity(greetCity, city); + greetings.push(greeting); + } + + return greetings; + }; + + // Define an orchestrator that demonstrates fan-out/fan-in pattern + const fanOutFanInOrchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { + const workItems = ["item-1", "item-2", "item-3", "item-4", "item-5"]; + + // Fan-out: schedule all activities in parallel + const tasks: Task[] = []; + for (const item of workItems) { + tasks.push(ctx.callActivity(processWorkItem, item)); + } + + // Fan-in: wait for all activities to complete + const results: number[] = yield whenAll(tasks); + + // Aggregate results + const total = results.reduce((sum, val) => sum + val, 0); + return { workItemCount: workItems.length, totalCharacters: total }; + }; + + let client; + let worker; + + try { + // Create client and worker using connection string or explicit parameters + if (connectionString) { + console.log("Using connection string authentication..."); + client = createAzureManagedClient(connectionString); + worker = createAzureManagedWorkerBuilder(connectionString) + .addOrchestrator(sequenceOrchestrator) + .addOrchestrator(fanOutFanInOrchestrator) + .addActivity(greetCity) + .addActivity(processWorkItem) + .build(); + } else { + console.log("Using DefaultAzureCredential authentication..."); + const credential = new DefaultAzureCredential(); + client = createAzureManagedClient(endpoint!, taskHubName!, credential); + worker = createAzureManagedWorkerBuilder(endpoint!, taskHubName!, credential) + .addOrchestrator(sequenceOrchestrator) + .addOrchestrator(fanOutFanInOrchestrator) + .addActivity(greetCity) + .addActivity(processWorkItem) + .build(); + } + + // Start the worker + console.log("Starting worker..."); + await worker.start(); + console.log("Worker started successfully!"); + + // Run the sequence orchestrator + console.log("\n--- Running Sequence Orchestrator ---"); + const sequenceId = await client.scheduleNewOrchestration(sequenceOrchestrator); + console.log(`Orchestration scheduled with ID: ${sequenceId}`); + + const sequenceState = await client.waitForOrchestrationCompletion(sequenceId, undefined, 60); + console.log(`Sequence orchestration completed!`); + console.log(`Result: ${sequenceState?.serializedOutput}`); + + // Run the fan-out/fan-in orchestrator + console.log("\n--- Running Fan-Out/Fan-In Orchestrator ---"); + const fanOutId = await client.scheduleNewOrchestration(fanOutFanInOrchestrator); + console.log(`Orchestration scheduled with ID: ${fanOutId}`); + + const fanOutState = await client.waitForOrchestrationCompletion(fanOutId, undefined, 60); + console.log(`Fan-out/fan-in orchestration completed!`); + console.log(`Result: ${fanOutState?.serializedOutput}`); + + console.log("\n--- All orchestrations completed successfully! ---"); + } catch (error) { + console.error("Error:", error); + process.exit(1); + } finally { + // Cleanup: stop worker and client + console.log("\nStopping worker and client..."); + if (worker) { + await worker.stop(); + } + if (client) { + await client.stop(); + } + console.log("Cleanup complete."); + process.exit(0); + } +})(); diff --git a/examples/README.md b/examples/hello-world/README.md similarity index 55% rename from examples/README.md rename to examples/hello-world/README.md index ddcc04e..4b8d04a 100644 --- a/examples/README.md +++ b/examples/hello-world/README.md @@ -35,3 +35,38 @@ In some cases, the sample may require command-line parameters or user inputs. In - [Activity sequence](./activity-sequence.ts): Orchestration that schedules three activity calls in a sequence. - [Fan-out/fan-in](./fanout-fanin.ts): Orchestration that schedules a dynamic number of activity calls in parallel, waits for all of them to complete, and then performs an aggregation on the results. +- [Azure Managed DTS](./azure-managed-dts.ts): Demonstrates integration with Azure Managed Durable Task Scheduler (DTS) using the portable SDK with Azure authentication. + +## Running the Azure Managed DTS example + +The Azure Managed DTS example requires an Azure Durable Task Scheduler endpoint. You can configure it using a `.env` file (recommended) or environment variables. + +### Option 1: Using a .env file (recommended) + +Create a `.env` file in the `examples` directory with your configuration: + +```env +# Using connection string +AZURE_DTS_CONNECTION_STRING=Endpoint=https://myservice.durabletask.io;Authentication=DefaultAzure;TaskHub=myTaskHub + +# Or using explicit parameters (uses DefaultAzureCredential) +# AZURE_DTS_ENDPOINT=https://myservice.durabletask.io +# AZURE_DTS_TASKHUB=myTaskHub +``` + +Then run the example: + +```sh +npm run example ./examples/azure-managed-dts.ts +``` + +> **Note**: The `.env` file is ignored by git to prevent accidental credential exposure. + +### Option 2: Using environment variables directly + +```sh +export AZURE_DTS_CONNECTION_STRING="Endpoint=https://myservice.durabletask.io;Authentication=DefaultAzure;TaskHub=myTaskHub" +npm run example ./examples/azure-managed-dts.ts +``` + +When using explicit parameters (`AZURE_DTS_ENDPOINT` and `AZURE_DTS_TASKHUB`), the example uses `DefaultAzureCredential` for authentication. Make sure you are logged in via Azure CLI (`az login`) or have appropriate credentials configured. diff --git a/examples/activity-sequence.ts b/examples/hello-world/activity-sequence.ts similarity index 100% rename from examples/activity-sequence.ts rename to examples/hello-world/activity-sequence.ts diff --git a/examples/fanout-fanin.ts b/examples/hello-world/fanout-fanin.ts similarity index 100% rename from examples/fanout-fanin.ts rename to examples/hello-world/fanout-fanin.ts diff --git a/examples/human_interaction.ts b/examples/hello-world/human_interaction.ts similarity index 100% rename from examples/human_interaction.ts rename to examples/hello-world/human_interaction.ts diff --git a/internal/durabletask-protobuf/PROTO_SOURCE_COMMIT_HASH b/internal/protocol/SOURCE_COMMIT similarity index 100% rename from internal/durabletask-protobuf/PROTO_SOURCE_COMMIT_HASH rename to internal/protocol/SOURCE_COMMIT diff --git a/internal/durabletask-protobuf/README.md b/internal/protocol/protos/README.md similarity index 78% rename from internal/durabletask-protobuf/README.md rename to internal/protocol/protos/README.md index ac6e1bf..6e7302a 100644 --- a/internal/durabletask-protobuf/README.md +++ b/internal/protocol/protos/README.md @@ -1,25 +1,26 @@ -# Durable Task Protobuf Files - -This directory contains the protocol buffer definitions used by the Durable Task Framework JavaScript SDK. The files in this directory are automatically downloaded and updated during the build process from the [microsoft/durabletask-protobuf](https://github.com/microsoft/durabletask-protobuf) repository. - -## Directory Structure - -- `protos/` - Contains the proto files -- `PROTO_SOURCE_COMMIT_HASH` - Contains the commit hash of the proto file version - -## Auto-Update Process - -The proto files are automatically downloaded and updated when running `npm run build`. This is handled by the `scripts/download-proto.sh` script. The script: - -1. Downloads the latest version of `orchestrator_service.proto` -2. Saves the current commit hash for tracking purposes - -## Manual Update - -To manually update the proto files, you can run: - -```bash -npm run download-proto -# or -./scripts/download-proto.sh [branch-name] -``` +# Durable Task Protobuf Files + +This directory contains the protocol buffer definitions used by the Durable Task Framework JavaScript SDK. The files in this directory are automatically downloaded and updated during the build process from the [microsoft/durabletask-protobuf](https://github.com/microsoft/durabletask-protobuf) repository. + +## Directory Structure + +- `orchestrator_service.proto` - The main proto file +- `google/` - Google protobuf dependencies +- `../SOURCE_COMMIT` - Contains the commit hash of the proto file version (in parent directory) + +## Auto-Update Process + +The proto files are automatically downloaded and updated when running `npm run build`. This is handled by the `scripts/download-proto.sh` script. The script: + +1. Downloads the latest version of `orchestrator_service.proto` +2. Saves the current commit hash for tracking purposes + +## Manual Update + +To manually update the proto files, you can run: + +```bash +npm run download-proto +# or +./scripts/download-proto.sh [branch-name] +``` \ No newline at end of file diff --git a/internal/durabletask-protobuf/protos/orchestrator_service.proto b/internal/protocol/protos/orchestrator_service.proto similarity index 100% rename from internal/durabletask-protobuf/protos/orchestrator_service.proto rename to internal/protocol/protos/orchestrator_service.proto diff --git a/jest.config.js b/jest.config.js old mode 100755 new mode 100644 index 2612c9b..23ab450 --- a/jest.config.js +++ b/jest.config.js @@ -1,8 +1,15 @@ -module.exports = { - preset: "ts-jest", - testEnvironment: "node", - moduleNameMapper: { - // We are using tsconfig rewrites and need to let jest klnow about it - "^@/(.*)$": "/src/$1", - }, -}; +/** @type {import('ts-jest').JestConfigWithTsJest} */ +module.exports = { + preset: "ts-jest", + testEnvironment: "node", + testMatch: ["**/tests/**/*.spec.ts"], + moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], + transform: { + "^.+\\.tsx?$": [ + "ts-jest", + { + tsconfig: "tsconfig.base.json", + }, + ], + }, +}; diff --git a/package-lock.json b/package-lock.json index 2007489..b9eae1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5995 +1,6897 @@ -{ - "name": "@microsoft/durabletask-js", - "version": "0.1.0-alpha.2", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "@microsoft/durabletask-js", - "version": "0.1.0-alpha.2", - "license": "MIT", - "dependencies": { - "@grpc/grpc-js": "^1.8.14", - "google-protobuf": "^3.21.2" - }, - "devDependencies": { - "@swc/core": "^1.3.55", - "@swc/helpers": "^0.5.1", - "@types/body-parser": "^1.19.1", - "@types/express": "^4.17.15", - "@types/google-protobuf": "^3.15.6", - "@types/jest": "^29.5.1", - "@types/node": "^18.16.1", - "@types/uuid": "^8.3.1", - "@typescript-eslint/eslint-plugin": "^5.1.0", - "@typescript-eslint/parser": "^5.1.0", - "eslint": "^8.1.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-header": "^3.1.1", - "eslint-plugin-prettier": "^4.2.1", - "grpc_tools_node_protoc_ts": "^5.3.3", - "husky": "^8.0.1", - "jest": "^29.5.0", - "nodemon": "^3.1.4", - "prettier": "^2.4.0", - "pretty-quick": "^3.1.3", - "readline-sync": "^1.4.10", - "regenerator-runtime": "^0.13.11", - "ts-jest": "^29.1.0", - "ts-node": "^10.9.1", - "typescript": "^5.0.4" - } - }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/code-frame/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/code-frame/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/code-frame/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/code-frame/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", - "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz", - "integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-compilation-targets": "^7.23.6", - "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.6", - "@babel/parser": "^7.23.6", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.6", - "@babel/types": "^7.23.6", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/generator": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", - "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.23.6", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", - "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.23.5", - "@babel/helper-validator-option": "^7.23.5", - "browserslist": "^4.22.2", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", - "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", - "dev": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", - "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", - "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz", - "integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==", - "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.6", - "@babel/types": "^7.23.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", - "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", - "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz", - "integrity": "sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz", - "integrity": "sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz", - "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.6", - "@babel/types": "^7.23.6", - "debug": "^4.3.1", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse/node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/types": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", - "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" - } - }, - "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", - "dev": true, - "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", - "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", - "dev": true, - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/js": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", - "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@grpc/grpc-js": { - "version": "1.9.15", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.15.tgz", - "integrity": "sha512-nqE7Hc0AzI+euzUwDAy0aY5hCp10r734gMGRdU+qOPX0XSceI2ULrcXB5U2xSc5VkWwalCj4M7GzCAygZl2KoQ==", - "dependencies": { - "@grpc/proto-loader": "^0.7.8", - "@types/node": ">=12.12.47" - }, - "engines": { - "node": "^8.13.0 || >=10.10.0" - } - }, - "node_modules/@grpc/proto-loader": { - "version": "0.7.10", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.10.tgz", - "integrity": "sha512-CAqDfoaQ8ykFd9zqBDn4k6iWT9loLAlc2ETmDFS9JCD70gDcnA4L3AFEo2iV7KyAtAAHFW9ftq1Fz+Vsgq80RQ==", - "dependencies": { - "lodash.camelcase": "^4.3.0", - "long": "^5.0.0", - "protobufjs": "^7.2.4", - "yargs": "^17.7.2" - }, - "bin": { - "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", - "dev": true, - "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true, - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", - "dev": true - }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/console": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", - "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/core": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", - "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", - "dev": true, - "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", - "dev": true, - "dependencies": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", - "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", - "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/globals": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", - "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/reporters": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", - "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", - "dev": true, - "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^6.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", - "v8-to-istanbul": "^9.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", - "dev": true, - "dependencies": { - "@sinclair/typebox": "^0.27.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/source-map": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", - "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-result": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", - "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-sequencer": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", - "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", - "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", - "dev": true - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" - }, - "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true - }, - "node_modules/@sinonjs/commons": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", - "integrity": "sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^3.0.0" - } - }, - "node_modules/@swc/core": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.3.101.tgz", - "integrity": "sha512-w5aQ9qYsd/IYmXADAnkXPGDMTqkQalIi+kfFf/MHRKTpaOL7DHjMXwPp/n8hJ0qNjRvchzmPtOqtPBiER50d8A==", - "dev": true, - "hasInstallScript": true, - "dependencies": { - "@swc/counter": "^0.1.1", - "@swc/types": "^0.1.5" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/swc" - }, - "optionalDependencies": { - "@swc/core-darwin-arm64": "1.3.101", - "@swc/core-darwin-x64": "1.3.101", - "@swc/core-linux-arm-gnueabihf": "1.3.101", - "@swc/core-linux-arm64-gnu": "1.3.101", - "@swc/core-linux-arm64-musl": "1.3.101", - "@swc/core-linux-x64-gnu": "1.3.101", - "@swc/core-linux-x64-musl": "1.3.101", - "@swc/core-win32-arm64-msvc": "1.3.101", - "@swc/core-win32-ia32-msvc": "1.3.101", - "@swc/core-win32-x64-msvc": "1.3.101" - }, - "peerDependencies": { - "@swc/helpers": "^0.5.0" - }, - "peerDependenciesMeta": { - "@swc/helpers": { - "optional": true - } - } - }, - "node_modules/@swc/core-darwin-arm64": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.3.101.tgz", - "integrity": "sha512-mNFK+uHNPRXSnfTOG34zJOeMl2waM4hF4a2NY7dkMXrPqw9CoJn4MwTXJcyMiSz1/BnNjjTCHF3Yhj0jPxmkzQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-darwin-x64": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.3.101.tgz", - "integrity": "sha512-B085j8XOx73Fg15KsHvzYWG262bRweGr3JooO1aW5ec5pYbz5Ew9VS5JKYS03w2UBSxf2maWdbPz2UFAxg0whw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.3.101.tgz", - "integrity": "sha512-9xLKRb6zSzRGPqdz52Hy5GuB1lSjmLqa0lST6MTFads3apmx4Vgs8Y5NuGhx/h2I8QM4jXdLbpqQlifpzTlSSw==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.3.101.tgz", - "integrity": "sha512-oE+r1lo7g/vs96Weh2R5l971dt+ZLuhaUX+n3BfDdPxNHfObXgKMjO7E+QS5RbGjv/AwiPCxQmbdCp/xN5ICJA==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.3.101.tgz", - "integrity": "sha512-OGjYG3H4BMOTnJWJyBIovCez6KiHF30zMIu4+lGJTCrxRI2fAjGLml3PEXj8tC3FMcud7U2WUn6TdG0/te2k6g==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.3.101.tgz", - "integrity": "sha512-/kBMcoF12PRO/lwa8Z7w4YyiKDcXQEiLvM+S3G9EvkoKYGgkkz4Q6PSNhF5rwg/E3+Hq5/9D2R+6nrkF287ihg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-linux-x64-musl": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.3.101.tgz", - "integrity": "sha512-kDN8lm4Eew0u1p+h1l3JzoeGgZPQ05qDE0czngnjmfpsH2sOZxVj1hdiCwS5lArpy7ktaLu5JdRnx70MkUzhXw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.3.101.tgz", - "integrity": "sha512-9Wn8TTLWwJKw63K/S+jjrZb9yoJfJwCE2RV5vPCCWmlMf3U1AXj5XuWOLUX+Rp2sGKau7wZKsvywhheWm+qndQ==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.3.101.tgz", - "integrity": "sha512-onO5KvICRVlu2xmr4//V2je9O2XgS1SGKpbX206KmmjcJhXN5EYLSxW9qgg+kgV5mip+sKTHTAu7IkzkAtElYA==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.3.101", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.3.101.tgz", - "integrity": "sha512-T3GeJtNQV00YmiVw/88/nxJ/H43CJvFnpvBHCVn17xbahiVUOPOduh3rc9LgAkKiNt/aV8vU3OJR+6PhfMR7UQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=10" - } - }, - "node_modules/@swc/counter": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.2.tgz", - "integrity": "sha512-9F4ys4C74eSTEUNndnER3VJ15oru2NumfQxS8geE+f3eB5xvfxpWyqE5XlVnxb/R14uoXi6SLbBwwiDSkv+XEw==", - "dev": true - }, - "node_modules/@swc/helpers": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.3.tgz", - "integrity": "sha512-FaruWX6KdudYloq1AHD/4nU+UsMTdNE8CKyrseXWEcgjDAbvkwJg2QGPAnfIJLIWsjZOSPLOAykK6fuYp4vp4A==", - "dev": true, - "dependencies": { - "tslib": "^2.4.0" - } - }, - "node_modules/@swc/types": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.5.tgz", - "integrity": "sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==", - "dev": true - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", - "dev": true - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", - "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", - "dev": true - }, - "node_modules/@types/babel__core": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", - "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "node_modules/@types/babel__generator": { - "version": "7.6.8", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", - "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__template": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", - "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__traverse": { - "version": "7.20.4", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.4.tgz", - "integrity": "sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.20.7" - } - }, - "node_modules/@types/body-parser": { - "version": "1.19.5", - "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", - "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", - "dev": true, - "dependencies": { - "@types/connect": "*", - "@types/node": "*" - } - }, - "node_modules/@types/connect": { - "version": "3.4.38", - "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", - "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/express": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", - "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", - "dev": true, - "dependencies": { - "@types/body-parser": "*", - "@types/express-serve-static-core": "^4.17.33", - "@types/qs": "*", - "@types/serve-static": "*" - } - }, - "node_modules/@types/express-serve-static-core": { - "version": "4.17.41", - "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz", - "integrity": "sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA==", - "dev": true, - "dependencies": { - "@types/node": "*", - "@types/qs": "*", - "@types/range-parser": "*", - "@types/send": "*" - } - }, - "node_modules/@types/google-protobuf": { - "version": "3.15.12", - "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.12.tgz", - "integrity": "sha512-40um9QqwHjRS92qnOaDpL7RmDK15NuZYo9HihiJRbYkMQZlWnuH8AdvbMy8/o6lgLmKbDUKa+OALCltHdbOTpQ==", - "dev": true - }, - "node_modules/@types/graceful-fs": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", - "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/http-errors": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", - "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", - "dev": true - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", - "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", - "dev": true - }, - "node_modules/@types/istanbul-lib-report": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", - "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "*" - } - }, - "node_modules/@types/istanbul-reports": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", - "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-report": "*" - } - }, - "node_modules/@types/jest": { - "version": "29.5.11", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.11.tgz", - "integrity": "sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==", - "dev": true, - "dependencies": { - "expect": "^29.0.0", - "pretty-format": "^29.0.0" - } - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true - }, - "node_modules/@types/mime": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", - "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", - "dev": true - }, - "node_modules/@types/minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", - "dev": true - }, - "node_modules/@types/node": { - "version": "18.19.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.3.tgz", - "integrity": "sha512-k5fggr14DwAytoA/t8rPrIz++lXK7/DqckthCmoZOKNsEbJkId4Z//BqgApXBUGrGddrigYa1oqheo/7YmW4rg==", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@types/qs": { - "version": "6.9.10", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.10.tgz", - "integrity": "sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw==", - "dev": true - }, - "node_modules/@types/range-parser": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", - "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", - "dev": true - }, - "node_modules/@types/semver": { - "version": "7.5.6", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz", - "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==", - "dev": true - }, - "node_modules/@types/send": { - "version": "0.17.4", - "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", - "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", - "dev": true, - "dependencies": { - "@types/mime": "^1", - "@types/node": "*" - } - }, - "node_modules/@types/serve-static": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz", - "integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==", - "dev": true, - "dependencies": { - "@types/http-errors": "*", - "@types/mime": "*", - "@types/node": "*" - } - }, - "node_modules/@types/stack-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", - "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", - "dev": true - }, - "node_modules/@types/uuid": { - "version": "8.3.4", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", - "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", - "dev": true - }, - "node_modules/@types/yargs": { - "version": "17.0.32", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", - "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@types/yargs-parser": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", - "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", - "dev": true - }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", - "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", - "dev": true, - "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/type-utils": "5.62.0", - "@typescript-eslint/utils": "5.62.0", - "debug": "^4.3.4", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", - "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "debug": "^4.3.4" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", - "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", - "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", - "dev": true, - "dependencies": { - "@typescript-eslint/typescript-estree": "5.62.0", - "@typescript-eslint/utils": "5.62.0", - "debug": "^4.3.4", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", - "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", - "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/visitor-keys": "5.62.0", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", - "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.62.0", - "@typescript-eslint/types": "5.62.0", - "@typescript-eslint/typescript-estree": "5.62.0", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.62.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", - "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.62.0", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true - }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, - "node_modules/acorn": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", - "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.3.1", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.1.tgz", - "integrity": "sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-escapes/node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/array-differ": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", - "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", - "dev": true, - "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", - "dev": true, - "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", - "dev": true, - "dependencies": { - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", - "dev": true, - "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.22.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", - "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "caniuse-lite": "^1.0.30001565", - "electron-to-chromium": "^1.4.601", - "node-releases": "^2.0.14", - "update-browserslist-db": "^1.0.13" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/bs-logger": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", - "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", - "dev": true, - "dependencies": { - "fast-json-stable-stringify": "2.x" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", - "dev": true, - "dependencies": { - "node-int64": "^0.4.0" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001570", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001570.tgz", - "integrity": "sha512-+3e0ASu4sw1SWaoCtvPeyXp+5PsjigkSt8OXZbF9StH5pQWbxEjLAZE3n8Aup5udop1uRiKA7a4utUk/uoSpUw==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/char-regex": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/chokidar/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "engines": { - "node": ">=8" - } - }, - "node_modules/cjs-module-lexer": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", - "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", - "dev": true - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", - "dev": true, - "engines": { - "iojs": ">= 1.0.0", - "node": ">= 0.12.0" - } - }, - "node_modules/collect-v8-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", - "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", - "dev": true - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true - }, - "node_modules/create-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", - "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - }, - "bin": { - "create-jest": "bin/create-jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/dedent": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz", - "integrity": "sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==", - "dev": true, - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true - } - } - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/deepmerge": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.4.615", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.615.tgz", - "integrity": "sha512-/bKPPcgZVUziECqDc+0HkT87+0zhaWSZHNXqF8FLd2lQcptpmUFwoCSWjCdOng9Gdq+afKArPdEg/0ZW461Eng==", - "dev": true - }, - "node_modules/emittery": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", - "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", - "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", - "dev": true, - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.56.0", - "@humanwhocodes/config-array": "^0.11.13", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "@ungap/structured-clone": "^1.2.0", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.2", - "eslint-visitor-keys": "^3.4.3", - "espree": "^9.6.1", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "graphemer": "^1.4.0", - "ignore": "^5.2.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.3", - "strip-ansi": "^6.0.1", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint-config-prettier": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz", - "integrity": "sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==", - "dev": true, - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-plugin-header": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz", - "integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==", - "dev": true, - "peerDependencies": { - "eslint": ">=7.7.0" - } - }, - "node_modules/eslint-plugin-prettier": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", - "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", - "dev": true, - "dependencies": { - "prettier-linter-helpers": "^1.0.0" - }, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "eslint": ">=7.28.0", - "prettier": ">=2.0.0" - }, - "peerDependenciesMeta": { - "eslint-config-prettier": { - "optional": true - } - } - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", - "dev": true, - "dependencies": { - "acorn": "^8.9.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", - "dev": true, - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", - "dev": true, - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "node_modules/fast-diff": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", - "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", - "dev": true - }, - "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "node_modules/fastq": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", - "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", - "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fb-watchman": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", - "dev": true, - "dependencies": { - "bser": "2.1.1" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flat-cache": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", - "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", - "dev": true, - "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.3", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.9", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", - "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", - "dev": true - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "dev": true, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/globals": { - "version": "13.24.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", - "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/google-protobuf": { - "version": "3.21.2", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.2.tgz", - "integrity": "sha512-3MSOYFO5U9mPGikIYCzK0SaThypfGgS6bHqrUGXG3DPHCrb+txNqeEcns1W0lkGfk0rCyNXm7xB9rMxnCiZOoA==" - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "node_modules/grpc_tools_node_protoc_ts": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/grpc_tools_node_protoc_ts/-/grpc_tools_node_protoc_ts-5.3.3.tgz", - "integrity": "sha512-M/YrklvVXMtuuj9kb42PxeouZhs7Ul+R4e/31XwrankUcKL8cQQP50Q9q+KEHGyHQaPt6VtKKsxMgLaKbCxeww==", - "dev": true, - "dependencies": { - "google-protobuf": "3.15.8", - "handlebars": "4.7.7" - }, - "bin": { - "protoc-gen-ts": "bin/protoc-gen-ts" - } - }, - "node_modules/grpc_tools_node_protoc_ts/node_modules/google-protobuf": { - "version": "3.15.8", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.15.8.tgz", - "integrity": "sha512-2jtfdqTaSxk0cuBJBtTTWsot4WtR9RVr2rXg7x7OoqiuOKopPrwXpM1G4dXIkLcUNRh3RKzz76C8IOkksZSeOw==", - "dev": true - }, - "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" - }, - "engines": { - "node": ">=0.4.7" - }, - "optionalDependencies": { - "uglify-js": "^3.1.4" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", - "dev": true, - "bin": { - "husky": "lib/bin.js" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, - "node_modules/ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/ignore-by-default": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", - "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", - "dev": true - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", - "dev": true, - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", - "dev": true, - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-generator-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", - "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.1.tgz", - "integrity": "sha512-EAMEJBsYuyyztxMxW3g7ugGPkrZsV57v0Hmv3mm1uQsmB+QnZuepg731CRaIgeUVSdmsTngOkSnauNF8p7FIhA==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-report": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", - "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", - "dev": true, - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^4.0.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", - "dev": true, - "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-reports": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz", - "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==", - "dev": true, - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", - "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-changed-files": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", - "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", - "dev": true, - "dependencies": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", - "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-cli": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", - "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-config": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", - "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@types/node": "*", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-docblock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", - "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", - "dev": true, - "dependencies": { - "detect-newline": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-each": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", - "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" - } - }, - "node_modules/jest-leak-detector": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", - "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } - } - }, - "node_modules/jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", - "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve-dependencies": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", - "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", - "dev": true, - "dependencies": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", - "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runtime": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", - "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", - "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "leven": "^3.1.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-watcher": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", - "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "dev": true, - "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", - "dev": true, - "dependencies": { - "json-buffer": "3.0.1" - } - }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" - }, - "node_modules/lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", - "dev": true - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "node_modules/long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/make-dir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", - "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", - "dev": true, - "dependencies": { - "semver": "^7.5.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "dev": true, - "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/mri": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", - "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/multimatch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-4.0.0.tgz", - "integrity": "sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==", - "dev": true, - "dependencies": { - "@types/minimatch": "^3.0.3", - "array-differ": "^3.0.0", - "array-union": "^2.1.0", - "arrify": "^2.0.1", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true - }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true - }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true - }, - "node_modules/node-releases": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", - "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", - "dev": true - }, - "node_modules/nodemon": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.4.tgz", - "integrity": "sha512-wjPBbFhtpJwmIeY2yP7QF+UKzPfltVGtfce1g/bB15/8vCGZj8uxD62b/b9M9/WVgme0NZudpownKN+c0plXlQ==", - "dev": true, - "dependencies": { - "chokidar": "^3.5.2", - "debug": "^4", - "ignore-by-default": "^1.0.1", - "minimatch": "^3.1.2", - "pstree.remy": "^1.1.8", - "semver": "^7.5.3", - "simple-update-notifier": "^2.0.0", - "supports-color": "^5.5.0", - "touch": "^3.1.0", - "undefsafe": "^2.0.5" - }, - "bin": { - "nodemon": "bin/nodemon.js" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/nodemon" - } - }, - "node_modules/nodemon/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/nodemon/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/nopt": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz", - "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==", - "dev": true, - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "*" - } - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", - "dev": true, - "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dev": true, - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pkg-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", - "dev": true, - "dependencies": { - "fast-diff": "^1.1.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/pretty-quick": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-3.1.3.tgz", - "integrity": "sha512-kOCi2FJabvuh1as9enxYmrnBC6tVMoVOenMaBqRfsvBHB0cbpYHjdQEpSglpASDFEXVwplpcGR4CLEaisYAFcA==", - "dev": true, - "dependencies": { - "chalk": "^3.0.0", - "execa": "^4.0.0", - "find-up": "^4.1.0", - "ignore": "^5.1.4", - "mri": "^1.1.5", - "multimatch": "^4.0.0" - }, - "bin": { - "pretty-quick": "bin/pretty-quick.js" - }, - "engines": { - "node": ">=10.13" - }, - "peerDependencies": { - "prettier": ">=2.0.0" - } - }, - "node_modules/pretty-quick/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/execa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", - "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/pretty-quick/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pretty-quick/node_modules/human-signals": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", - "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", - "dev": true, - "engines": { - "node": ">=8.12.0" - } - }, - "node_modules/pretty-quick/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pretty-quick/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/protobufjs": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.2.5.tgz", - "integrity": "sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==", - "hasInstallScript": true, - "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/pstree.remy": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", - "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", - "dev": true - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/punycode": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", - "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/pure-rand": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.4.tgz", - "integrity": "sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/dubzzz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fast-check" - } - ] - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/readline-sync": { - "version": "1.4.10", - "resolved": "https://registry.npmjs.org/readline-sync/-/readline-sync-1.4.10.tgz", - "integrity": "sha512-gNva8/6UAe8QYepIQH/jQ2qn91Qj0B9sYjMBBs3QOB8F2CXcKgLxQaJRP76sWVRQt+QU+8fAkCbCvjjMFu7Ycw==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", - "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", - "dev": true - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-cwd/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/resolve.exports": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", - "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/simple-update-notifier": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", - "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", - "dev": true, - "dependencies": { - "semver": "^7.5.3" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/stack-utils/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", - "dev": true, - "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/touch": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", - "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==", - "dev": true, - "dependencies": { - "nopt": "~1.0.10" - }, - "bin": { - "nodetouch": "bin/nodetouch.js" - } - }, - "node_modules/ts-jest": { - "version": "29.1.1", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz", - "integrity": "sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==", - "dev": true, - "dependencies": { - "bs-logger": "0.x", - "fast-json-stable-stringify": "2.x", - "jest-util": "^29.0.0", - "json5": "^2.2.3", - "lodash.memoize": "4.x", - "make-error": "1.x", - "semver": "^7.5.3", - "yargs-parser": "^21.0.1" - }, - "bin": { - "ts-jest": "cli.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", - "@jest/types": "^29.0.0", - "babel-jest": "^29.0.0", - "jest": "^29.0.0", - "typescript": ">=4.3 <6" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@jest/types": { - "optional": true - }, - "babel-jest": { - "optional": true - }, - "esbuild": { - "optional": true - } - } - }, - "node_modules/ts-node": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", - "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", - "dev": true, - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "dev": true - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } - }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", - "dev": true, - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/undefsafe": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", - "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", - "dev": true - }, - "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" - }, - "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", - "dev": true - }, - "node_modules/v8-to-istanbul": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", - "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^2.0.0" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "dev": true, - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "engines": { - "node": ">=12" - } - }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - } - } -} +{ + "name": "durabletask-js-monorepo", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "durabletask-js-monorepo", + "version": "0.0.0", + "license": "MIT", + "workspaces": [ + "packages/*" + ], + "devDependencies": { + "@swc/core": "^1.3.55", + "@swc/helpers": "^0.5.1", + "@types/jest": "^29.5.1", + "@types/node": "^18.16.1", + "@typescript-eslint/eslint-plugin": "^5.1.0", + "@typescript-eslint/parser": "^5.1.0", + "dotenv": "^17.2.3", + "eslint": "^8.1.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-header": "^3.1.1", + "eslint-plugin-prettier": "^4.2.1", + "grpc_tools_node_protoc_ts": "^5.3.3", + "grpc-tools": "^1.13.1", + "husky": "^8.0.1", + "jest": "^29.5.0", + "nodemon": "^3.1.4", + "prettier": "^2.4.0", + "pretty-quick": "^3.1.3", + "ts-jest": "^29.1.0", + "ts-node": "^10.9.1", + "typescript": "^5.0.4" + }, + "engines": { + "node": ">=22.0.0" + } + }, + "node_modules/@azure/abort-controller": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", + "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@azure/core-auth": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.10.1.tgz", + "integrity": "sha512-ykRMW8PjVAn+RS6ww5cmK9U2CyH9p4Q88YJwvUslfuMmN98w/2rdGRLPqJYObapBCdzBVeDgYWdJnFPFb7qzpg==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-util": "^1.13.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-client": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@azure/core-client/-/core-client-1.10.1.tgz", + "integrity": "sha512-Nh5PhEOeY6PrnxNPsEHRr9eimxLwgLlpmguQaHKBinFYA/RU9+kOYVOQqOrTsCL+KSxrLLl1gD8Dk5BFW/7l/w==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.10.0", + "@azure/core-rest-pipeline": "^1.22.0", + "@azure/core-tracing": "^1.3.0", + "@azure/core-util": "^1.13.0", + "@azure/logger": "^1.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-rest-pipeline": { + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.22.2.tgz", + "integrity": "sha512-MzHym+wOi8CLUlKCQu12de0nwcq9k9Kuv43j4Wa++CsCpJwps2eeBQwD2Bu8snkxTtDKDx4GwjuR9E8yC8LNrg==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@azure/core-auth": "^1.10.0", + "@azure/core-tracing": "^1.3.0", + "@azure/core-util": "^1.13.0", + "@azure/logger": "^1.3.0", + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-tracing": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.3.1.tgz", + "integrity": "sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ==", + "license": "MIT", + "dependencies": { + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/core-util": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.13.1.tgz", + "integrity": "sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.1.2", + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/identity": { + "version": "4.13.0", + "resolved": "https://registry.npmjs.org/@azure/identity/-/identity-4.13.0.tgz", + "integrity": "sha512-uWC0fssc+hs1TGGVkkghiaFkkS7NkTxfnCH+Hdg+yTehTpMcehpok4PgUKKdyCH+9ldu6FhiHRv84Ntqj1vVcw==", + "license": "MIT", + "dependencies": { + "@azure/abort-controller": "^2.0.0", + "@azure/core-auth": "^1.9.0", + "@azure/core-client": "^1.9.2", + "@azure/core-rest-pipeline": "^1.17.0", + "@azure/core-tracing": "^1.0.0", + "@azure/core-util": "^1.11.0", + "@azure/logger": "^1.0.0", + "@azure/msal-browser": "^4.2.0", + "@azure/msal-node": "^3.5.0", + "open": "^10.1.0", + "tslib": "^2.2.0" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/logger": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.3.0.tgz", + "integrity": "sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==", + "license": "MIT", + "dependencies": { + "@typespec/ts-http-runtime": "^0.3.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@azure/msal-browser": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-4.28.1.tgz", + "integrity": "sha512-al2u2fTchbClq3L4C1NlqLm+vwKfhYCPtZN2LR/9xJVaQ4Mnrwf5vANvuyPSJHcGvw50UBmhuVmYUAhTEetTpA==", + "license": "MIT", + "dependencies": { + "@azure/msal-common": "15.14.1" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@azure/msal-common": { + "version": "15.14.1", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.14.1.tgz", + "integrity": "sha512-IkzF7Pywt6QKTS0kwdCv/XV8x8JXknZDvSjj/IccooxnP373T5jaadO3FnOrbWo3S0UqkfIDyZNTaQ/oAgRdXw==", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@azure/msal-node": { + "version": "3.8.6", + "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-3.8.6.tgz", + "integrity": "sha512-XTmhdItcBckcVVTy65Xp+42xG4LX5GK+9AqAsXPXk4IqUNv+LyQo5TMwNjuFYBfAB2GTG9iSQGk+QLc03vhf3w==", + "license": "MIT", + "dependencies": { + "@azure/msal-common": "15.14.1", + "jsonwebtoken": "^9.0.0", + "uuid": "^8.3.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.28.6.tgz", + "integrity": "sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.28.5", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.6.tgz", + "integrity": "sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.6.tgz", + "integrity": "sha512-H3mcG6ZDLTlYfaSNi0iOKkigqMFvkTKlGUYlD8GW7nNOYRrevuA46iTypPyv+06V3fEmvvazfntkBU34L0azAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.28.6", + "@babel/generator": "^7.28.6", + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-module-transforms": "^7.28.6", + "@babel/helpers": "^7.28.6", + "@babel/parser": "^7.28.6", + "@babel/template": "^7.28.6", + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.6.tgz", + "integrity": "sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz", + "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.28.6", + "@babel/helper-validator-option": "^7.27.1", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", + "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz", + "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz", + "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz", + "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz", + "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.6.tgz", + "integrity": "sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.28.6", + "@babel/types": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.6.tgz", + "integrity": "sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.6" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz", + "integrity": "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.28.6.tgz", + "integrity": "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-typescript": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz", + "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz", + "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.28.6", + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.6.tgz", + "integrity": "sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.28.6", + "@babel/generator": "^7.28.6", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.28.6", + "@babel/template": "^7.28.6", + "@babel/types": "^7.28.6", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.6.tgz", + "integrity": "sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/js": { + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@grpc/grpc-js": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.3.tgz", + "integrity": "sha512-Iq8QQQ/7X3Sac15oB6p0FmUg/klxQvXLeileoqrTRGJYLV+/9tubbr9ipz0GKHjmXVsgFPo/+W+2cA8eNcR+XA==", + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "@grpc/proto-loader": "^0.8.0", + "@js-sdsl/ordered-map": "^4.4.2" + }, + "engines": { + "node": ">=12.10.0" + } + }, + "node_modules/@grpc/proto-loader": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.8.0.tgz", + "integrity": "sha512-rc1hOQtjIWGxcxpb9aHAfLpIctjEnsDehj0DAiVfBlmT84uvR0uUtN2hEi/ecvWVjXUGf5qPF4qEgiLOx1YIMQ==", + "license": "Apache-2.0", + "dependencies": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.5.3", + "yargs": "^17.7.2" + }, + "bin": { + "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", + "deprecated": "Use @eslint/config-array instead", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.3", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", + "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", + "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.7.0", + "@jest/reporters": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-changed-files": "^29.7.0", + "jest-config": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-resolve-dependencies": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "jest-watcher": "^29.7.0", + "micromatch": "^4.0.4", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/environment": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", + "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-mock": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", + "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^29.7.0", + "jest-snapshot": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect-utils": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", + "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^29.6.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/fake-timers": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", + "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@sinonjs/fake-timers": "^10.0.2", + "@types/node": "*", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/globals": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", + "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/types": "^29.6.3", + "jest-mock": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/reporters": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", + "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "@types/node": "*", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^6.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.1.3", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", + "slash": "^3.0.0", + "string-length": "^4.0.1", + "strip-ansi": "^6.0.0", + "v8-to-istanbul": "^9.0.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/schemas": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", + "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.27.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/source-map": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", + "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.18", + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-result": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", + "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", + "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^29.7.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/transform": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/types": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", + "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@js-sdsl/ordered-map": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz", + "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "node_modules/@mapbox/node-pre-gyp": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-2.0.3.tgz", + "integrity": "sha512-uwPAhccfFJlsfCxMYTwOdVfOz3xqyj8xYL3zJj8f0pb30tLohnnFPhLuqp4/qoEz8sNxe4SESZedcBojRefIzg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "consola": "^3.2.3", + "detect-libc": "^2.0.0", + "https-proxy-agent": "^7.0.5", + "node-fetch": "^2.6.7", + "nopt": "^8.0.0", + "semver": "^7.5.3", + "tar": "^7.4.0" + }, + "bin": { + "node-pre-gyp": "bin/node-pre-gyp" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@microsoft/durabletask-js": { + "resolved": "packages/durabletask-js", + "link": true + }, + "node_modules/@microsoft/durabletask-js-azuremanaged": { + "resolved": "packages/durabletask-js-azuremanaged", + "link": true + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", + "license": "BSD-3-Clause" + }, + "node_modules/@sinclair/typebox": { + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@sinonjs/commons": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/@sinonjs/fake-timers": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.0" + } + }, + "node_modules/@swc/core": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.15.10.tgz", + "integrity": "sha512-udNofxftduMUEv7nqahl2nvodCiCDQ4Ge0ebzsEm6P8s0RC2tBM0Hqx0nNF5J/6t9uagFJyWIDjXy3IIWMHDJw==", + "dev": true, + "hasInstallScript": true, + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "@swc/counter": "^0.1.3", + "@swc/types": "^0.1.25" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/swc" + }, + "optionalDependencies": { + "@swc/core-darwin-arm64": "1.15.10", + "@swc/core-darwin-x64": "1.15.10", + "@swc/core-linux-arm-gnueabihf": "1.15.10", + "@swc/core-linux-arm64-gnu": "1.15.10", + "@swc/core-linux-arm64-musl": "1.15.10", + "@swc/core-linux-x64-gnu": "1.15.10", + "@swc/core-linux-x64-musl": "1.15.10", + "@swc/core-win32-arm64-msvc": "1.15.10", + "@swc/core-win32-ia32-msvc": "1.15.10", + "@swc/core-win32-x64-msvc": "1.15.10" + }, + "peerDependencies": { + "@swc/helpers": ">=0.5.17" + }, + "peerDependenciesMeta": { + "@swc/helpers": { + "optional": true + } + } + }, + "node_modules/@swc/core-darwin-arm64": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.15.10.tgz", + "integrity": "sha512-U72pGqmJYbjrLhMndIemZ7u9Q9owcJczGxwtfJlz/WwMaGYAV/g4nkGiUVk/+QSX8sFCAjanovcU1IUsP2YulA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-darwin-x64": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.15.10.tgz", + "integrity": "sha512-NZpDXtwHH083L40xdyj1sY31MIwLgOxKfZEAGCI8xHXdHa+GWvEiVdGiu4qhkJctoHFzAEc7ZX3GN5phuJcPuQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm-gnueabihf": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.15.10.tgz", + "integrity": "sha512-ioieF5iuRziUF1HkH1gg1r93e055dAdeBAPGAk40VjqpL5/igPJ/WxFHGvc6WMLhUubSJI4S0AiZAAhEAp1jDg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm64-gnu": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.15.10.tgz", + "integrity": "sha512-tD6BClOrxSsNus9cJL7Gxdv7z7Y2hlyvZd9l0NQz+YXzmTWqnfzLpg16ovEI7gknH2AgDBB5ywOsqu8hUgSeEQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-arm64-musl": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.15.10.tgz", + "integrity": "sha512-4uAHO3nbfbrTcmO/9YcVweTQdx5fN3l7ewwl5AEK4yoC4wXmoBTEPHAVdKNe4r9+xrTgd4BgyPsy0409OjjlMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-x64-gnu": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.15.10.tgz", + "integrity": "sha512-W0h9ONNw1pVIA0cN7wtboOSTl4Jk3tHq+w2cMPQudu9/+3xoCxpFb9ZdehwCAk29IsvdWzGzY6P7dDVTyFwoqg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-linux-x64-musl": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.15.10.tgz", + "integrity": "sha512-XQNZlLZB62S8nAbw7pqoqwy91Ldy2RpaMRqdRN3T+tAg6Xg6FywXRKCsLh6IQOadr4p1+lGnqM/Wn35z5a/0Vw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-arm64-msvc": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.15.10.tgz", + "integrity": "sha512-qnAGrRv5Nj/DATxAmCnJQRXXQqnJwR0trxLndhoHoxGci9MuguNIjWahS0gw8YZFjgTinbTxOwzatkoySihnmw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-ia32-msvc": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.15.10.tgz", + "integrity": "sha512-i4X/q8QSvzVlaRtv1xfnfl+hVKpCfiJ+9th484rh937fiEZKxZGf51C+uO0lfKDP1FfnT6C1yBYwHy7FLBVXFw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/core-win32-x64-msvc": { + "version": "1.15.10", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.15.10.tgz", + "integrity": "sha512-HvY8XUFuoTXn6lSccDLYFlXv1SU/PzYi4PyUqGT++WfTnbw/68N/7BdUZqglGRwiSqr0qhYt/EhmBpULj0J9rA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "Apache-2.0 AND MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=10" + } + }, + "node_modules/@swc/counter": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", + "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/@swc/helpers": { + "version": "0.5.18", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.18.tgz", + "integrity": "sha512-TXTnIcNJQEKwThMMqBXsZ4VGAza6bvN4pa41Rkqoio6QBKMvo+5lexeTMScGCIxtzgQJzElcvIltani+adC5PQ==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "dependencies": { + "tslib": "^2.8.0" + } + }, + "node_modules/@swc/types": { + "version": "0.1.25", + "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.25.tgz", + "integrity": "sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@swc/counter": "^0.1.3" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.12.tgz", + "integrity": "sha512-UCYBaeFvM11aU2y3YPZ//O5Rhj+xKyzy7mvcIoAjASbigy8mHMryP5cK7dgjlz2hWxh1g5pLw084E0a/wlUSFQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.2" + } + }, + "node_modules/@types/google-protobuf": { + "version": "3.15.12", + "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.12.tgz", + "integrity": "sha512-40um9QqwHjRS92qnOaDpL7RmDK15NuZYo9HihiJRbYkMQZlWnuH8AdvbMy8/o6lgLmKbDUKa+OALCltHdbOTpQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/graceful-fs": { + "version": "4.1.9", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", + "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", + "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", + "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, + "node_modules/@types/jest": { + "version": "29.5.14", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", + "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "18.19.130", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.130.tgz", + "integrity": "sha512-GRaXQx6jGfL8sKfaIDD6OupbIHBr9jv7Jnaml9tB7l4v068PAOXqfcujMMo5PhbIs6ggR1XODELqahT2R8v0fg==", + "license": "MIT", + "peer": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@types/semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/stack-utils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/yargs": { + "version": "17.0.35", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz", + "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz", + "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz", + "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==", + "dev": true, + "license": "BSD-2-Clause", + "peer": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", + "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", + "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", + "eslint-scope": "^5.1.1", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "5.62.0", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typespec/ts-http-runtime": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.2.tgz", + "integrity": "sha512-IlqQ/Gv22xUC1r/WQm4StLkYQmaaTsXAhUVsNE0+xiyf0yRFiH5++q78U3bw6bLKDCTmh0uqKB9eG9+Bt75Dkg==", + "license": "MIT", + "dependencies": { + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.0", + "tslib": "^2.6.2" + }, + "engines": { + "node": ">=20.0.0" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", + "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==", + "dev": true, + "license": "ISC" + }, + "node_modules/abbrev": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz", + "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true, + "license": "MIT", + "peer": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT" + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-jest": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", + "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/transform": "^29.7.0", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^29.6.3", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", + "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-istanbul/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/babel-plugin-jest-hoist": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", + "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/babel-preset-current-node-syntax": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz", + "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-import-attributes": "^7.24.7", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5" + }, + "peerDependencies": { + "@babel/core": "^7.0.0 || ^8.0.0-0" + } + }, + "node_modules/babel-preset-jest": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", + "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-jest-hoist": "^29.6.3", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/baseline-browser-mapping": { + "version": "2.9.17", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.17.tgz", + "integrity": "sha512-agD0MgJFUP/4nvjqzIB29zRPUuCF7Ge6mEv9s8dHrtYD7QWXRcx75rOADE/d5ah1NI+0vkDl0yorDd5U852IQQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.js" + } + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", + "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "peer": true, + "dependencies": { + "baseline-browser-mapping": "^2.9.0", + "caniuse-lite": "^1.0.30001759", + "electron-to-chromium": "^1.5.263", + "node-releases": "^2.0.27", + "update-browserslist-db": "^1.2.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bs-logger": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", + "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-json-stable-stringify": "2.x" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", + "license": "BSD-3-Clause" + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001765", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001765.tgz", + "integrity": "sha512-LWcNtSyZrakjECqmpP4qdg0MMGdN368D7X8XvvAqOcqMv0RxnlqVKZl2V6/mBR68oYMxOZPLw/gO7DuisMHUvQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cjs-module-lexer": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz", + "integrity": "sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/collect-v8-coverage": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz", + "integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==", + "dev": true, + "license": "MIT" + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/consola": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", + "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.10.0" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/create-jest": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", + "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "prompts": "^2.0.1" + }, + "bin": { + "create-jest": "bin/create-jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/dedent": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.1.tgz", + "integrity": "sha512-9JmrhGZpOlEgOLdQgSm0zxFaYoQon408V1v49aqTWuXENVlnCuY9JBZcXZiCsZQWDjTm5Qf/nIvAy77mXDAjEg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "babel-plugin-macros": "^3.1.0" + }, + "peerDependenciesMeta": { + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/default-browser": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.4.0.tgz", + "integrity": "sha512-XDuvSq38Hr1MdN47EDvYtx3U0MTqpCEn+F6ft8z2vYDzMrvQhVp0ui9oQdqW3MvK3vqUETglt1tVGgjLuJ5izg==", + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/default-browser-id": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", + "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/diff": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.4.tgz", + "integrity": "sha512-X07nttJQkwkfKfvTPG/KSnE2OMdcUCao6+eXF3wmnIQRn2aPAHH3VxDbDOdegkd6JbPsXqShpvEOHfAT+nCNwQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/diff-sequences": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", + "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/dotenv": { + "version": "17.2.3", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.3.tgz", + "integrity": "sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.277", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.277.tgz", + "integrity": "sha512-wKXFZw4erWmmOz5N/grBoJ2XrNJGDFMu2+W5ACHza5rHtvsqrK4gb6rnLC7XxKB9WlJ+RmyQatuEXmtm86xbnw==", + "dev": true, + "license": "ISC" + }, + "node_modules/emittery": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" + }, + "node_modules/end-of-stream": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz", + "integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/error-ex": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "8.10.2", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.2.tgz", + "integrity": "sha512-/IGJ6+Dka158JnP5n5YFMOszjDWrXggGz1LaK/guZq9vZTmniaKlHcsscvkAhn9y4U+BU3JuUdYvtAMcv30y4A==", + "dev": true, + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-header": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-header/-/eslint-plugin-header-3.1.1.tgz", + "integrity": "sha512-9vlKxuJ4qf793CmeeSrZUvVClw6amtpghq3CuWcB5cUNnWHQhgcqy5eF8oVKFk1G3Y/CbchGfEaw3wiIJaNmVg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=7.7.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.5.tgz", + "integrity": "sha512-9Ni+xgemM2IWLq6aXEpP2+V/V30GeA/46Ar629vcMqVPodFFWC9skHu/D1phvuqtS8bJCFnNf01/qcmqYEwNfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "prettier-linter-helpers": "^1.0.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "eslint": ">=7.28.0", + "prettier": ">=2.0.0" + }, + "peerDependenciesMeta": { + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/expect": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", + "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/expect-utils": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.20.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz", + "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fb-watchman": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", + "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "bser": "2.1.1" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", + "dev": true, + "license": "ISC" + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/google-protobuf": { + "version": "3.15.8", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.15.8.tgz", + "integrity": "sha512-2jtfdqTaSxk0cuBJBtTTWsot4WtR9RVr2rXg7x7OoqiuOKopPrwXpM1G4dXIkLcUNRh3RKzz76C8IOkksZSeOw==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true, + "license": "MIT" + }, + "node_modules/grpc_tools_node_protoc_ts": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/grpc_tools_node_protoc_ts/-/grpc_tools_node_protoc_ts-5.3.3.tgz", + "integrity": "sha512-M/YrklvVXMtuuj9kb42PxeouZhs7Ul+R4e/31XwrankUcKL8cQQP50Q9q+KEHGyHQaPt6VtKKsxMgLaKbCxeww==", + "dev": true, + "license": "MIT", + "dependencies": { + "google-protobuf": "3.15.8", + "handlebars": "4.7.7" + }, + "bin": { + "protoc-gen-ts": "bin/protoc-gen-ts" + } + }, + "node_modules/grpc-tools": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/grpc-tools/-/grpc-tools-1.13.1.tgz", + "integrity": "sha512-0sttMUxThNIkCTJq5qI0xXMz5zWqV2u3yG1kR3Sj9OokGIoyRBFjoInK9NyW7x5fH7knj48Roh1gq5xbl0VoDQ==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@mapbox/node-pre-gyp": "^2.0.0" + }, + "bin": { + "grpc_tools_node_protoc": "bin/protoc.js", + "grpc_tools_node_protoc_plugin": "bin/protoc_plugin.js" + } + }, + "node_modules/handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/husky": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "dev": true, + "license": "MIT", + "bin": { + "husky": "lib/bin.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-by-default": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", + "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==", + "dev": true, + "license": "ISC" + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-local": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-core-module": { + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "license": "MIT", + "dependencies": { + "is-docker": "^3.0.0" + }, + "bin": { + "is-inside-container": "cli.js" + }, + "engines": { + "node": ">=14.16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-wsl": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz", + "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", + "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@jest/core": "^29.7.0", + "@jest/types": "^29.6.3", + "import-local": "^3.0.2", + "jest-cli": "^29.7.0" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-changed-files": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", + "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^5.0.0", + "jest-util": "^29.7.0", + "p-limit": "^3.1.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", + "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^1.0.0", + "is-generator-fn": "^2.0.0", + "jest-each": "^29.7.0", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "p-limit": "^3.1.0", + "pretty-format": "^29.7.0", + "pure-rand": "^6.0.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-cli": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", + "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "create-jest": "^29.7.0", + "exit": "^0.1.2", + "import-local": "^3.0.2", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "yargs": "^17.3.1" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-config": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", + "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^29.7.0", + "@jest/types": "^29.6.3", + "babel-jest": "^29.7.0", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-circus": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/jest-diff": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", + "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.6.3", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-docblock": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", + "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-each": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", + "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "jest-get-type": "^29.6.3", + "jest-util": "^29.7.0", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-environment-node": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", + "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-get-type": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", + "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-haste-map": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", + "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/jest-leak-detector": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", + "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-matcher-utils": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", + "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-message-util": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", + "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.6.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-mock": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", + "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-pnp-resolver": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", + "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "jest-resolve": "*" + }, + "peerDependenciesMeta": { + "jest-resolve": { + "optional": true + } + } + }, + "node_modules/jest-regex-util": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", + "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", + "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve-dependencies": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", + "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-regex-util": "^29.6.3", + "jest-snapshot": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", + "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.7.0", + "@jest/environment": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-leak-detector": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-resolve": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-util": "^29.7.0", + "jest-watcher": "^29.7.0", + "jest-worker": "^29.7.0", + "p-limit": "^3.1.0", + "source-map-support": "0.5.13" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runtime": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", + "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/globals": "^29.7.0", + "@jest/source-map": "^29.6.3", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-snapshot": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", + "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-jsx": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/types": "^7.3.3", + "@jest/expect-utils": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^29.7.0", + "graceful-fs": "^4.2.9", + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "natural-compare": "^1.4.0", + "pretty-format": "^29.7.0", + "semver": "^7.5.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-util": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", + "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-validate": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", + "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.6.3", + "leven": "^3.1.0", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-validate/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-watcher": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", + "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "jest-util": "^29.7.0", + "string-length": "^4.0.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-worker": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", + "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonwebtoken": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.3.tgz", + "integrity": "sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==", + "license": "MIT", + "dependencies": { + "jws": "^4.0.1", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "node_modules/jwa": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", + "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", + "license": "MIT", + "dependencies": { + "buffer-equal-constant-time": "^1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", + "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", + "license": "MIT", + "dependencies": { + "jwa": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "license": "MIT" + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", + "license": "MIT" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", + "license": "MIT" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", + "license": "MIT" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", + "license": "MIT" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "license": "MIT" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", + "license": "MIT" + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", + "license": "MIT" + }, + "node_modules/long": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, + "node_modules/makeerror": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", + "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tmpl": "1.0.5" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz", + "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.1.2" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/natural-compare-lite": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", + "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", + "dev": true, + "license": "MIT" + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", + "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nodemon": { + "version": "3.1.11", + "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-3.1.11.tgz", + "integrity": "sha512-is96t8F/1//UHAjNPHpbsNY46ELPpftGUoSVNXwUfMk/qdjSylYrWSu1XavVTBOn526kFiOR733ATgNBCQyH0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.2", + "debug": "^4", + "ignore-by-default": "^1.0.1", + "minimatch": "^3.1.2", + "pstree.remy": "^1.1.8", + "semver": "^7.5.3", + "simple-update-notifier": "^2.0.0", + "supports-color": "^5.5.0", + "touch": "^3.1.0", + "undefsafe": "^2.0.5" + }, + "bin": { + "nodemon": "bin/nodemon.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/nodemon" + } + }, + "node_modules/nodemon/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/nodemon/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/nopt": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz", + "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==", + "dev": true, + "license": "ISC", + "dependencies": { + "abbrev": "^3.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/open/-/open-10.2.0.tgz", + "integrity": "sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==", + "license": "MIT", + "dependencies": { + "default-browser": "^5.2.1", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "wsl-utils": "^0.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pirates": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "license": "MIT", + "peer": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.1.tgz", + "integrity": "sha512-SxToR7P8Y2lWmv/kTzVLC1t/GDI2WGjMwNhLLE9qtH8Q13C+aEmuRlzDst4Up4s0Wc8sF2M+J57iB3cMLqftfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-format": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", + "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.3", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/pretty-quick": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-3.3.1.tgz", + "integrity": "sha512-3b36UXfYQ+IXXqex6mCca89jC8u0mYLqFAN5eTQKoXO6oCQYcIVYZEB/5AlBHI7JPYygReM2Vv6Vom/Gln7fBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^4.1.0", + "find-up": "^4.1.0", + "ignore": "^5.3.0", + "mri": "^1.2.0", + "picocolors": "^1.0.0", + "picomatch": "^3.0.1", + "tslib": "^2.6.2" + }, + "bin": { + "pretty-quick": "dist/cli.js" + }, + "engines": { + "node": ">=10.13" + }, + "peerDependencies": { + "prettier": "^2.0.0" + } + }, + "node_modules/pretty-quick/node_modules/execa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/pretty-quick/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pretty-quick/node_modules/human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8.12.0" + } + }, + "node_modules/pretty-quick/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pretty-quick/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/picomatch": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-3.0.1.tgz", + "integrity": "sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/protobufjs": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.4.tgz", + "integrity": "sha512-CvexbZtbov6jW2eXAvLukXjXUW1TzFaivC46BpWc/3BpcCysb5Vffu+B3XHMm8lVEuy2Mm4XGex8hBSg1yapPg==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/pstree.remy": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz", + "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==", + "dev": true, + "license": "MIT" + }, + "node_modules/pump": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz", + "integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==", + "dev": true, + "license": "MIT", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/pure-rand": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", + "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true, + "license": "MIT" + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.11", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz", + "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.16.1", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-cwd/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve.exports": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", + "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/reusify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/run-applescript": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", + "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/semver": { + "version": "7.7.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz", + "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/simple-update-notifier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-2.0.0.tgz", + "integrity": "sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", + "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/stack-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/string-length": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tar": { + "version": "7.5.6", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.6.tgz", + "integrity": "sha512-xqUeu2JAIJpXyvskvU3uvQW8PAmHrtXp2KDuMJwQqW8Sqq0CaZBAQ+dKS3RBXVhU4wC5NjAdKrmh84241gO9cA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.1.0", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/tar/node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true, + "license": "MIT" + }, + "node_modules/tmpl": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", + "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/touch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.1.tgz", + "integrity": "sha512-r0eojU4bI8MnHr8c5bNo7lJDdI2qXlWWJk6a9EAFG7vbhTjElYhBVS3/miuE0uOuoLdb8Mc/rVfsmm6eo5o9GA==", + "dev": true, + "license": "ISC", + "bin": { + "nodetouch": "bin/nodetouch.js" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/ts-jest": { + "version": "29.4.6", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.6.tgz", + "integrity": "sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bs-logger": "^0.2.6", + "fast-json-stable-stringify": "^2.1.0", + "handlebars": "^4.7.8", + "json5": "^2.2.3", + "lodash.memoize": "^4.1.2", + "make-error": "^1.3.6", + "semver": "^7.7.3", + "type-fest": "^4.41.0", + "yargs-parser": "^21.1.1" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <8", + "@jest/transform": "^29.0.0 || ^30.0.0", + "@jest/types": "^29.0.0 || ^30.0.0", + "babel-jest": "^29.0.0 || ^30.0.0", + "jest": "^29.0.0 || ^30.0.0", + "jest-util": "^29.0.0 || ^30.0.0", + "typescript": ">=4.3 <6" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@jest/transform": { + "optional": true + }, + "@jest/types": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jest-util": { + "optional": true + } + } + }, + "node_modules/ts-jest/node_modules/handlebars": { + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/ts-jest/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "license": "MIT", + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true, + "license": "0BSD" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uglify-js": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "dev": true, + "license": "BSD-2-Clause", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/undefsafe": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz", + "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==", + "dev": true, + "license": "MIT" + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "license": "MIT" + }, + "node_modules/update-browserslist-db": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT" + }, + "node_modules/v8-to-istanbul": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^2.0.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/walker": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", + "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "makeerror": "1.0.12" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/write-file-atomic": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", + "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/wsl-utils": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.1.0.tgz", + "integrity": "sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==", + "license": "MIT", + "dependencies": { + "is-wsl": "^3.1.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/durabletask-js": { + "name": "@microsoft/durabletask-js", + "version": "0.1.0-alpha.2", + "license": "MIT", + "dependencies": { + "@grpc/grpc-js": "^1.14.3", + "google-protobuf": "^3.21.2" + }, + "devDependencies": { + "@types/google-protobuf": "^3.15.6", + "@types/jest": "^29.5.1", + "@types/node": "^18.16.1", + "jest": "^29.5.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" + }, + "engines": { + "node": ">=22.0.0" + } + }, + "packages/durabletask-js-azuremanaged": { + "name": "@microsoft/durabletask-js-azuremanaged", + "version": "0.1.0-alpha.1", + "license": "MIT", + "dependencies": { + "@azure/identity": "^4.0.0" + }, + "devDependencies": { + "@types/jest": "^29.5.1", + "@types/node": "^18.16.1", + "jest": "^29.5.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" + }, + "engines": { + "node": ">=22.0.0" + }, + "peerDependencies": { + "@grpc/grpc-js": "^1.8.14", + "@microsoft/durabletask-js": ">=0.1.0-alpha.2" + } + }, + "packages/durabletask-js/node_modules/google-protobuf": { + "version": "3.21.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.4.tgz", + "integrity": "sha512-MnG7N936zcKTco4Jd2PX2U96Kf9PxygAPKBug+74LHzmHXmceN16MmRcdgZv+DGef/S9YvQAfRsNCn4cjf9yyQ==", + "license": "(BSD-3-Clause AND Apache-2.0)" + } + } +} diff --git a/package.json b/package.json index 82049c0..6bbe034 100644 --- a/package.json +++ b/package.json @@ -1,65 +1,60 @@ -{ - "name": "@microsoft/durabletask-js", - "version": "0.1.0-alpha.2", - "description": "A Durable Task Javascript SDK compatible with Dapr Workflow and its underlying Durable Task engine", - "types": "./build/index.d.ts", - "scripts": { - "test": "jest --runInBand --detectOpenHandles", - "test:unit": "jest test/unit --runInBand --detectOpenHandles", - "test:unit:one": "jest test/unit --runInBand --detectOpenHandles --testNamePattern", - "test:e2e:internal": "jest test/e2e --runInBand --detectOpenHandles", - "test:e2e": "./scripts/test-e2e.sh", - "test:e2e:one": "jest test/e2e --runInBand --detectOpenHandles --testNamePattern", - "start": "ts-node --swc ./src/index.ts", - "example": "ts-node --swc", - "lint": "eslint . --ext .js,.jsx,.ts,.tsx", - "dev": "nodemon --watch './src/**/*.ts' --exec 'ts-node --swc' ./src/index.ts", - "pretty": "prettier --list-different \"**/*.{ts,tsx,js,jsx,json,md}\"", - "pretty-fix": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", - "download-proto": "./scripts/download-proto.sh", - "prebuild": "./scripts/prebuild.sh", - "build": "npm install && npm run download-proto && npm run lint && npm run pretty && ./scripts/build.sh" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/microsoft/durabletask-js.git" - }, - "keywords": [], - "author": "", - "license": "MIT", - "bugs": { - "url": "https://github.com/microsoft/durabletask-js/issues" - }, - "homepage": "https://github.com/microsoft/durabletask-js#readme", - "devDependencies": { - "@swc/core": "^1.3.55", - "@swc/helpers": "^0.5.1", - "@types/body-parser": "^1.19.1", - "@types/express": "^4.17.15", - "@types/google-protobuf": "^3.15.6", - "@types/jest": "^29.5.1", - "@types/node": "^18.16.1", - "@types/uuid": "^8.3.1", - "@typescript-eslint/eslint-plugin": "^5.1.0", - "@typescript-eslint/parser": "^5.1.0", - "eslint": "^8.1.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-header": "^3.1.1", - "eslint-plugin-prettier": "^4.2.1", - "grpc_tools_node_protoc_ts": "^5.3.3", - "husky": "^8.0.1", - "jest": "^29.5.0", - "nodemon": "^3.1.4", - "prettier": "^2.4.0", - "pretty-quick": "^3.1.3", - "readline-sync": "^1.4.10", - "regenerator-runtime": "^0.13.11", - "ts-jest": "^29.1.0", - "ts-node": "^10.9.1", - "typescript": "^5.0.4" - }, - "dependencies": { - "@grpc/grpc-js": "^1.8.14", - "google-protobuf": "^3.21.2" - } -} +{ + "name": "durabletask-js-monorepo", + "version": "0.0.0", + "private": true, + "description": "Durable Task JavaScript SDK monorepo", + "workspaces": [ + "packages/*" + ], + "scripts": { + "build": "npm run build --workspaces", + "build:core": "npm run build -w @microsoft/durabletask-js", + "build:azuremanaged": "npm run build -w @microsoft/durabletask-js-azuremanaged", + "test": "npm run test --workspaces", + "test:unit": "npm run test:unit --workspaces --if-present", + "test:e2e": "./scripts/test-e2e.sh", + "test:e2e:internal": "jest tests/e2e --runInBand --detectOpenHandles", + "test:e2e:one": "jest tests/e2e --runInBand --detectOpenHandles --testNamePattern", + "lint": "eslint . --ext .js,.jsx,.ts,.tsx", + "pretty": "prettier --list-different \"**/*.{ts,tsx,js,jsx,json,md}\"", + "pretty-fix": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", + "download-proto": "./scripts/download-proto.sh", + "generate-grpc": "./tools/generate-grpc-javascript.sh ./packages/durabletask-js/src/proto", + "example": "ts-node --swc" + }, + "engines": { + "node": ">=22.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/microsoft/durabletask-js.git" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/microsoft/durabletask-js/issues" + }, + "homepage": "https://github.com/microsoft/durabletask-js#readme", + "devDependencies": { + "@swc/core": "^1.3.55", + "@swc/helpers": "^0.5.1", + "@types/jest": "^29.5.1", + "@types/node": "^18.16.1", + "@typescript-eslint/eslint-plugin": "^5.1.0", + "@typescript-eslint/parser": "^5.1.0", + "dotenv": "^17.2.3", + "eslint": "^8.1.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-header": "^3.1.1", + "eslint-plugin-prettier": "^4.2.1", + "grpc_tools_node_protoc_ts": "^5.3.3", + "grpc-tools": "^1.13.1", + "husky": "^8.0.1", + "jest": "^29.5.0", + "nodemon": "^3.1.4", + "prettier": "^2.4.0", + "pretty-quick": "^3.1.3", + "ts-jest": "^29.1.0", + "ts-node": "^10.9.1", + "typescript": "^5.0.4" + } +} diff --git a/packages/durabletask-js-azuremanaged/LICENSE b/packages/durabletask-js-azuremanaged/LICENSE new file mode 100644 index 0000000..3720b85 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) Microsoft Corporation. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/durabletask-js-azuremanaged/README.md b/packages/durabletask-js-azuremanaged/README.md new file mode 100644 index 0000000..029e569 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/README.md @@ -0,0 +1,99 @@ +# @microsoft/durabletask-js-azuremanaged + +Azure-managed Durable Task support for the Durable Task JavaScript SDK. + +This package provides support for connecting to Azure-managed Durable Task services, including authentication via Azure Identity. + +## Installation + +```bash +npm install @microsoft/durabletask-js-azuremanaged @microsoft/durabletask-js +``` + +## Usage + +### Via Connection String + +```typescript +import { createAzureManagedClient, createAzureManagedWorkerBuilder } from "@microsoft/durabletask-js-azuremanaged"; + +// Create a client +const client = createAzureManagedClient( + "Endpoint=https://myservice.durabletask.io;Authentication=DefaultAzure;TaskHub=myTaskHub", +); + +// Create a worker +const worker = createAzureManagedWorkerBuilder( + "Endpoint=https://myservice.durabletask.io;Authentication=DefaultAzure;TaskHub=myTaskHub", +) + .addOrchestrator(myOrchestrator) + .addActivity(myActivity) + .build(); + +await worker.start(); +``` + +### Via Explicit Parameters + +```typescript +import { DefaultAzureCredential } from "@azure/identity"; +import { createAzureManagedClient, createAzureManagedWorkerBuilder } from "@microsoft/durabletask-js-azuremanaged"; + +const credential = new DefaultAzureCredential(); + +// Create a client +const client = createAzureManagedClient("https://myservice.durabletask.io", "myTaskHub", credential); + +// Create a worker +const worker = createAzureManagedWorkerBuilder("https://myservice.durabletask.io", "myTaskHub", credential) + .addOrchestrator(myOrchestrator) + .addActivity(myActivity) + .build(); + +await worker.start(); +``` + +## Supported Authentication Types + +The connection string `Authentication` parameter supports the following values: + +- `DefaultAzure` - Uses `DefaultAzureCredential` +- `ManagedIdentity` - Uses `ManagedIdentityCredential` +- `WorkloadIdentity` - Uses `WorkloadIdentityCredential` +- `Environment` - Uses `EnvironmentCredential` +- `AzureCli` - Uses `AzureCliCredential` +- `AzurePowerShell` - Uses `AzurePowerShellCredential` +- `VisualStudioCode` - Uses `VisualStudioCodeCredential` +- `InteractiveBrowser` - Uses `InteractiveBrowserCredential` +- `None` - No authentication (for local development/testing) + +## Connection String Format + +``` +Endpoint=;Authentication=;TaskHub=[;ClientID=][;TenantId=] +``` + +## API Reference + +### Classes + +- `DurableTaskAzureManagedConnectionString` - Parses connection strings +- `DurableTaskAzureManagedClientOptions` - Client configuration +- `DurableTaskAzureManagedWorkerOptions` - Worker configuration +- `DurableTaskAzureManagedClientBuilder` - Builder for creating clients +- `DurableTaskAzureManagedWorkerBuilder` - Builder for creating workers +- `AzureManagedTaskHubGrpcClient` - Client implementation +- `AzureManagedTaskHubGrpcWorker` - Worker implementation +- `AccessTokenCache` - Token caching for Azure authentication + +### Functions + +- `createAzureManagedClient(connectionString)` - Create a client from connection string +- `createAzureManagedClient(endpoint, taskHubName, credential)` - Create a client with explicit parameters +- `createAzureManagedWorkerBuilder(connectionString)` - Create a worker builder from connection string +- `createAzureManagedWorkerBuilder(endpoint, taskHubName, credential)` - Create a worker builder with explicit parameters +- `getCredentialFromAuthenticationType(connectionString)` - Get credential from connection string auth type + +## License + +MIT diff --git a/packages/durabletask-js-azuremanaged/jest.config.js b/packages/durabletask-js-azuremanaged/jest.config.js new file mode 100644 index 0000000..1ce1b53 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/jest.config.js @@ -0,0 +1,9 @@ +module.exports = { + preset: "ts-jest", + testEnvironment: "node", + testMatch: ["**/test/**/*.spec.ts"], + moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], + transform: { + "^.+\\.ts$": "ts-jest", + }, +}; diff --git a/packages/durabletask-js-azuremanaged/package.json b/packages/durabletask-js-azuremanaged/package.json new file mode 100644 index 0000000..eed0740 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/package.json @@ -0,0 +1,63 @@ +{ + "name": "@microsoft/durabletask-js-azuremanaged", + "version": "0.1.0-alpha.1", + "description": "Azure-managed Durable Task Scheduler support for the Durable Task JavaScript SDK", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "require": "./dist/index.js", + "import": "./dist/index.js" + } + }, + "files": [ + "dist", + "LICENSE", + "README.md" + ], + "scripts": { + "clean": "node -e \"require('fs').rmSync('dist', {recursive:true, force:true})\"", + "prebuild": "node -p \"'// Auto-generated by prebuild\\nexport const SDK_VERSION = ' + JSON.stringify(require('./package.json').version) + ';\\nexport const SDK_PACKAGE_NAME = ' + JSON.stringify(require('./package.json').name) + ';'\" > src/version.ts", + "build": "npm run prebuild && npm run clean && tsc -p tsconfig.build.json", + "test": "jest --runInBand --detectOpenHandles", + "test:unit": "jest test/unit --runInBand --detectOpenHandles", + "prepublishOnly": "npm run build && npm run test" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/microsoft/durabletask-js.git", + "directory": "packages/durabletask-js-azuremanaged" + }, + "keywords": [ + "durabletask", + "azure", + "orchestration", + "workflow", + "durable-task-scheduler", + "dts" + ], + "author": "Microsoft", + "license": "MIT", + "bugs": { + "url": "https://github.com/microsoft/durabletask-js/issues" + }, + "homepage": "https://github.com/microsoft/durabletask-js/tree/main/extensions/durabletask-js-azuremanaged#readme", + "engines": { + "node": ">=22.0.0" + }, + "dependencies": { + "@azure/identity": "^4.0.0" + }, + "peerDependencies": { + "@grpc/grpc-js": "^1.8.14", + "@microsoft/durabletask-js": ">=0.1.0-alpha.2" + }, + "devDependencies": { + "@types/jest": "^29.5.1", + "@types/node": "^18.16.1", + "jest": "^29.5.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" + } +} diff --git a/packages/durabletask-js-azuremanaged/src/access-token-cache.ts b/packages/durabletask-js-azuremanaged/src/access-token-cache.ts new file mode 100644 index 0000000..307f692 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/access-token-cache.ts @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { AccessToken, TokenCredential, GetTokenOptions } from "@azure/identity"; + +/** + * Caches access tokens for Azure authentication. + * This class is used by both client and worker components to authenticate with Azure-managed Durable Task services. + */ +export class AccessTokenCache { + private readonly credential: TokenCredential; + private readonly scopes: string | string[]; + private readonly margin: number; + private cachedToken: AccessToken | null = null; + + /** + * Creates a new instance of the AccessTokenCache. + * + * @param credential The token credential to use for obtaining tokens. + * @param scopes The scopes for which to obtain the token. + * @param marginMs The time margin in milliseconds before token expiration to refresh the token. Default is 5 minutes. + */ + constructor(credential: TokenCredential, scopes: string | string[], marginMs: number = 5 * 60 * 1000) { + this.credential = credential; + this.scopes = scopes; + this.margin = marginMs; + } + + /** + * Gets a valid access token, refreshing it if necessary. + * + * @param options Optional token request options. + * @returns A promise that resolves to a valid access token. + */ + async getToken(options?: GetTokenOptions): Promise { + const nowWithMargin = Date.now() + this.margin; + + if ( + this.cachedToken === null || + this.cachedToken.expiresOnTimestamp < nowWithMargin || + (this.cachedToken.refreshAfterTimestamp !== undefined && this.cachedToken.refreshAfterTimestamp < nowWithMargin) + ) { + const token = await this.credential.getToken(this.scopes, options); + if (!token) { + throw new Error("Failed to obtain access token from credential"); + } + this.cachedToken = token; + } + + return this.cachedToken; + } +} diff --git a/packages/durabletask-js-azuremanaged/src/client-builder.ts b/packages/durabletask-js-azuremanaged/src/client-builder.ts new file mode 100644 index 0000000..d246b4f --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/client-builder.ts @@ -0,0 +1,189 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { TokenCredential } from "@azure/identity"; +import * as grpc from "@grpc/grpc-js"; +import { DurableTaskAzureManagedClientOptions } from "./options"; +import { ClientRetryOptions } from "./retry-policy"; +import { TaskHubGrpcClient } from "@microsoft/durabletask-js"; + +/** + * Builder for creating DurableTaskClient instances that connect to Azure-managed Durable Task service. + * This class provides various methods to create and configure clients using either connection strings or explicit parameters. + */ +export class DurableTaskAzureManagedClientBuilder { + private _options: DurableTaskAzureManagedClientOptions; + private _grpcChannelOptions: grpc.ChannelOptions = {}; + + /** + * Creates a new instance of DurableTaskAzureManagedClientBuilder. + */ + constructor() { + this._options = new DurableTaskAzureManagedClientOptions(); + } + + /** + * Configures the builder using a connection string. + * + * @param connectionString The connection string for Azure-managed Durable Task service. + * @returns This builder instance. + * @throws Error if connectionString is null or undefined. + */ + connectionString(connectionString: string): DurableTaskAzureManagedClientBuilder { + if (!connectionString) { + throw new Error("connectionString must not be null or empty"); + } + + this._options = DurableTaskAzureManagedClientOptions.fromConnectionString(connectionString); + return this; + } + + /** + * Configures the builder using explicit parameters. + * + * @param endpoint The endpoint address for Azure-managed Durable Task service. + * @param taskHubName The name of the task hub to connect to. + * @param credential The token credential for authentication, or null for anonymous access. + * @returns This builder instance. + * @throws Error if endpoint or taskHubName is null or undefined. + */ + endpoint( + endpoint: string, + taskHubName: string, + credential?: TokenCredential | null, + ): DurableTaskAzureManagedClientBuilder { + if (!endpoint) { + throw new Error("endpoint must not be null or empty"); + } + if (!taskHubName) { + throw new Error("taskHubName must not be null or empty"); + } + + this._options + .setEndpointAddress(endpoint) + .setTaskHubName(taskHubName) + .setCredential(credential ?? null) + .setAllowInsecureCredentials(credential === null || credential === undefined); + + return this; + } + + /** + * Sets the resource ID for authentication. + * + * @param resourceId The resource ID. + * @returns This builder instance. + */ + resourceId(resourceId: string): DurableTaskAzureManagedClientBuilder { + this._options.setResourceId(resourceId); + return this; + } + + /** + * Sets the token refresh margin. + * + * @param marginMs The token refresh margin in milliseconds. + * @returns This builder instance. + */ + tokenRefreshMargin(marginMs: number): DurableTaskAzureManagedClientBuilder { + this._options.setTokenRefreshMargin(marginMs); + return this; + } + + /** + * Sets whether insecure credentials are allowed. + * + * @param allowInsecure True to allow insecure credentials. + * @returns This builder instance. + */ + allowInsecureCredentials(allowInsecure: boolean): DurableTaskAzureManagedClientBuilder { + this._options.setAllowInsecureCredentials(allowInsecure); + return this; + } + + /** + * Sets additional gRPC channel options. + * + * @param options The gRPC channel options. + * @returns This builder instance. + */ + grpcChannelOptions(options: grpc.ChannelOptions): DurableTaskAzureManagedClientBuilder { + this._grpcChannelOptions = options; + return this; + } + + /** + * Sets the retry options for gRPC calls. + * + * @param options The retry options. + * @returns This builder instance. + */ + retryOptions(options: ClientRetryOptions): DurableTaskAzureManagedClientBuilder { + this._options.setRetryOptions(options); + return this; + } + + /** + * Builds and returns a configured TaskHubGrpcClient. + * + * @returns A new configured TaskHubGrpcClient instance. + */ + build(): TaskHubGrpcClient { + const hostAddress = this._options.getHostAddress(); + const channelCredentials = this._options.createChannelCredentials(); + + const defaultOptions: grpc.ChannelOptions = { + "grpc.primary_user_agent": "durabletask-js-azuremanaged", + "grpc.enable_retries": 1, + "grpc.service_config": this._options.getServiceConfig(), + }; + + const combinedOptions = { + ...defaultOptions, + ...this._grpcChannelOptions, + }; + + // Use the core TaskHubGrpcClient with custom credentials (no inheritance needed) + return new TaskHubGrpcClient(hostAddress, combinedOptions, true, channelCredentials); + } +} + +/** + * Creates an Azure-managed Durable Task client using a connection string. + * + * @param connectionString The connection string for Azure-managed Durable Task service. + * @returns A new configured TaskHubGrpcClient instance. + * @throws Error if connectionString is null or undefined. + */ +export function createAzureManagedClient(connectionString: string): TaskHubGrpcClient; + +/** + * Creates an Azure-managed Durable Task client using explicit parameters. + * + * @param endpoint The endpoint address for Azure-managed Durable Task service. + * @param taskHubName The name of the task hub to connect to. + * @param credential The token credential for authentication, or null for anonymous access. + * @returns A new configured TaskHubGrpcClient instance. + * @throws Error if endpoint or taskHubName is null or undefined. + */ +export function createAzureManagedClient( + endpoint: string, + taskHubName: string, + credential?: TokenCredential | null, +): TaskHubGrpcClient; + +export function createAzureManagedClient( + endpointOrConnectionString: string, + taskHubName?: string, + credential?: TokenCredential | null, +): TaskHubGrpcClient { + const builder = new DurableTaskAzureManagedClientBuilder(); + + if (taskHubName !== undefined) { + // Called with (endpoint, taskHubName, credential?) + return builder.endpoint(endpointOrConnectionString, taskHubName, credential).build(); + } else { + // Called with (connectionString) + return builder.connectionString(endpointOrConnectionString).build(); + } +} diff --git a/packages/durabletask-js-azuremanaged/src/connection-string.ts b/packages/durabletask-js-azuremanaged/src/connection-string.ts new file mode 100644 index 0000000..e2877e7 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/connection-string.ts @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Represents the constituent parts of a connection string for an Azure-managed Durable Task service. + */ +export class DurableTaskAzureManagedConnectionString { + private properties: Map; + + /** + * Creates a new instance of DurableTaskAzureManagedConnectionString. + * @param connectionString A connection string for an Azure-managed Durable Task service. + * @throws Error if the connection string is invalid or missing required properties. + */ + constructor(connectionString: string) { + if (!connectionString || connectionString.trim() === "") { + throw new Error("connectionString must not be null or empty"); + } + + this.properties = this.parseConnectionString(connectionString); + + // Validate required properties + this.getAuthentication(); + this.getTaskHubName(); + this.getEndpoint(); + } + + /** + * Gets the authentication method specified in the connection string. + * @returns The authentication method. + */ + getAuthentication(): string { + return this.getRequiredValue("Authentication"); + } + + /** + * Gets the managed identity or workload identity client ID specified in the connection string. + * @returns The client ID, or undefined if not specified. + */ + getClientId(): string | undefined { + return this.getValue("ClientID"); + } + + /** + * Gets the "AdditionallyAllowedTenants" property, optionally used by Workload Identity. + * Multiple values can be separated by a comma. + * @returns List of allowed tenants, or undefined if not specified. + */ + getAdditionallyAllowedTenants(): string[] | undefined { + const value = this.getValue("AdditionallyAllowedTenants"); + if (!value || value === "") { + return undefined; + } + return value.split(","); + } + + /** + * Gets the "TenantId" property, optionally used by Workload Identity. + * @returns The tenant ID, or undefined if not specified. + */ + getTenantId(): string | undefined { + return this.getValue("TenantId"); + } + + /** + * Gets the "TokenFilePath" property, optionally used by Workload Identity. + * @returns The token file path, or undefined if not specified. + */ + getTokenFilePath(): string | undefined { + return this.getValue("TokenFilePath"); + } + + /** + * Gets the endpoint specified in the connection string. + * @returns The endpoint URL. + */ + getEndpoint(): string { + return this.getRequiredValue("Endpoint"); + } + + /** + * Gets the task hub name specified in the connection string. + * @returns The task hub name. + */ + getTaskHubName(): string { + return this.getRequiredValue("TaskHub"); + } + + private getValue(name: string): string | undefined { + return this.properties.get(name); + } + + private getRequiredValue(name: string): string { + const value = this.getValue(name); + if (!value || value === "") { + const article = /^[aeiou]/i.test(name) ? "an" : "a"; + throw new Error(`The connection string must contain ${article} ${name} property`); + } + return value; + } + + private parseConnectionString(connectionString: string): Map { + const properties = new Map(); + + const pairs = connectionString.split(";"); + for (const pair of pairs) { + const equalsIndex = pair.indexOf("="); + if (equalsIndex > 0) { + const key = pair.substring(0, equalsIndex).trim(); + const value = pair.substring(equalsIndex + 1).trim(); + properties.set(key, value); + } + } + + return properties; + } +} diff --git a/packages/durabletask-js-azuremanaged/src/credential-factory.ts b/packages/durabletask-js-azuremanaged/src/credential-factory.ts new file mode 100644 index 0000000..2119f7e --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/credential-factory.ts @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { + TokenCredential, + DefaultAzureCredential, + ManagedIdentityCredential, + WorkloadIdentityCredential, + EnvironmentCredential, + AzureCliCredential, + AzurePowerShellCredential, + VisualStudioCodeCredential, + InteractiveBrowserCredential, +} from "@azure/identity"; +import { DurableTaskAzureManagedConnectionString } from "./connection-string"; + +/** + * Creates a TokenCredential based on the authentication type specified in the connection string. + * + * @param connectionString The parsed connection string. + * @returns A TokenCredential instance based on the specified authentication type, or null if authentication type is "None". + * @throws Error if the connection string contains an unsupported authentication type. + */ +export function getCredentialFromAuthenticationType( + connectionString: DurableTaskAzureManagedConnectionString, +): TokenCredential | null { + const authType = connectionString.getAuthentication().toLowerCase().trim(); + + switch (authType) { + case "defaultazure": + return new DefaultAzureCredential(); + + case "managedidentity": { + const clientId = connectionString.getClientId(); + if (clientId) { + return new ManagedIdentityCredential({ clientId }); + } + return new ManagedIdentityCredential(); + } + + case "workloadidentity": { + const options: { + clientId?: string; + tenantId?: string; + tokenFilePath?: string; + additionallyAllowedTenants?: string[]; + } = {}; + + const clientId = connectionString.getClientId(); + if (clientId) { + options.clientId = clientId; + } + + const tenantId = connectionString.getTenantId(); + if (tenantId) { + options.tenantId = tenantId; + } + + const tokenFilePath = connectionString.getTokenFilePath(); + if (tokenFilePath) { + options.tokenFilePath = tokenFilePath; + } + + const additionallyAllowedTenants = connectionString.getAdditionallyAllowedTenants(); + if (additionallyAllowedTenants) { + options.additionallyAllowedTenants = additionallyAllowedTenants; + } + + return new WorkloadIdentityCredential(options); + } + + case "environment": + return new EnvironmentCredential(); + + case "azurecli": + return new AzureCliCredential(); + + case "azurepowershell": + return new AzurePowerShellCredential(); + + case "visualstudiocode": + return new VisualStudioCodeCredential(); + + case "interactivebrowser": + return new InteractiveBrowserCredential({}); + + case "none": + return null; + + default: + throw new Error(`The connection string contains an unsupported authentication type '${authType}'.`); + } +} diff --git a/packages/durabletask-js-azuremanaged/src/index.ts b/packages/durabletask-js-azuremanaged/src/index.ts new file mode 100644 index 0000000..de5483e --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/index.ts @@ -0,0 +1,19 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +export { DurableTaskAzureManagedConnectionString } from "./connection-string"; +export { AccessTokenCache } from "./access-token-cache"; +export { DurableTaskAzureManagedClientOptions, DurableTaskAzureManagedWorkerOptions } from "./options"; +export { getCredentialFromAuthenticationType } from "./credential-factory"; +export { getUserAgent } from "./user-agent"; +export { + ClientRetryOptions, + createServiceConfig, + DEFAULT_SERVICE_CONFIG, + DEFAULT_MAX_ATTEMPTS, + DEFAULT_INITIAL_BACKOFF_MS, + DEFAULT_MAX_BACKOFF_MS, + DEFAULT_BACKOFF_MULTIPLIER, +} from "./retry-policy"; +export { DurableTaskAzureManagedClientBuilder, createAzureManagedClient } from "./client-builder"; +export { DurableTaskAzureManagedWorkerBuilder, createAzureManagedWorkerBuilder } from "./worker-builder"; diff --git a/packages/durabletask-js-azuremanaged/src/options.ts b/packages/durabletask-js-azuremanaged/src/options.ts new file mode 100644 index 0000000..7b8a5f3 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/options.ts @@ -0,0 +1,380 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { TokenCredential } from "@azure/identity"; +import * as grpc from "@grpc/grpc-js"; +import { DurableTaskAzureManagedConnectionString } from "./connection-string"; +import { AccessTokenCache } from "./access-token-cache"; +import { getCredentialFromAuthenticationType } from "./credential-factory"; +import { getUserAgent } from "./user-agent"; +import { ClientRetryOptions, createServiceConfig, DEFAULT_SERVICE_CONFIG } from "./retry-policy"; + +/** + * Base options for configuring the Azure-managed Durable Task service. + * Contains properties common to both client and worker configurations. + */ +abstract class DurableTaskAzureManagedOptionsBase { + protected _endpointAddress: string = ""; + protected _taskHubName: string = ""; + protected _credential: TokenCredential | null = null; + protected _resourceId: string = "https://durabletask.io"; + protected _allowInsecureCredentials: boolean = false; + protected _tokenRefreshMargin: number = 5 * 60 * 1000; // 5 minutes in milliseconds + protected _retryOptions: ClientRetryOptions | undefined = undefined; + + /** + * Gets the endpoint address. + */ + getEndpointAddress(): string { + return this._endpointAddress; + } + + /** + * Gets the task hub name. + */ + getTaskHubName(): string { + return this._taskHubName; + } + + /** + * Gets the credential used for authentication. + */ + getCredential(): TokenCredential | null { + return this._credential; + } + + /** + * Gets the resource ID. + */ + getResourceId(): string { + return this._resourceId; + } + + /** + * Gets whether insecure credentials are allowed. + */ + isAllowInsecureCredentials(): boolean { + return this._allowInsecureCredentials; + } + + /** + * Gets the token refresh margin in milliseconds. + */ + getTokenRefreshMargin(): number { + return this._tokenRefreshMargin; + } + + /** + * Gets the retry options for gRPC calls. + */ + getRetryOptions(): ClientRetryOptions | undefined { + return this._retryOptions; + } + + /** + * Gets the gRPC service config JSON string with retry policy. + */ + getServiceConfig(): string { + if (this._retryOptions) { + return createServiceConfig(this._retryOptions); + } + return DEFAULT_SERVICE_CONFIG; + } + + /** + * Parses and normalizes the endpoint URL. + * + * @returns The normalized host address for gRPC connection. + */ + getHostAddress(): string { + let endpoint = this._endpointAddress; + + // Add https:// prefix if no protocol is specified + if (!endpoint.startsWith("http://") && !endpoint.startsWith("https://")) { + endpoint = "https://" + endpoint; + } + + try { + const url = new URL(endpoint); + let authority = url.hostname; + if (url.port) { + authority += ":" + url.port; + } + return authority; + } catch { + throw new Error(`Invalid endpoint URL: ${endpoint}`); + } + } + + /** + * Creates a gRPC channel metadata generator. + * @param callerType The type of caller for user-agent header. + * @param workerId Optional worker ID (only for workers). + */ + protected createMetadataGeneratorInternal( + callerType: string, + workerId?: string, + ): (params: { service_url: string }, callback: (error: Error | null, metadata?: grpc.Metadata) => void) => void { + // Create token cache only if credential is not null + let tokenCache: AccessTokenCache | null = null; + if (this._credential) { + const scope = this._resourceId + "/.default"; + tokenCache = new AccessTokenCache(this._credential, scope, this._tokenRefreshMargin); + } + + const taskHubName = this._taskHubName; + const userAgent = getUserAgent(callerType); + + return (_params: { service_url: string }, callback: (error: Error | null, metadata?: grpc.Metadata) => void) => { + const metadata = new grpc.Metadata(); + metadata.set("taskhub", taskHubName); + metadata.set("x-user-agent", userAgent); + + // Only add workerid for workers + if (workerId) { + metadata.set("workerid", workerId); + } + + if (tokenCache) { + tokenCache + .getToken() + .then((token) => { + metadata.set("Authorization", `Bearer ${token.token}`); + callback(null, metadata); + }) + .catch((error) => { + callback(error); + }); + } else { + callback(null, metadata); + } + }; + } + + /** + * Creates gRPC channel credentials based on the configured options. + * @param callerType The type of caller. + * @param workerId Optional worker ID (only for workers). + */ + protected createChannelCredentialsInternal(callerType: string, workerId?: string): grpc.ChannelCredentials { + if (this._allowInsecureCredentials) { + return grpc.ChannelCredentials.createInsecure(); + } + + const channelCredentials = grpc.ChannelCredentials.createSsl(); + const metadataGenerator = this.createMetadataGeneratorInternal(callerType, workerId); + const callCredentials = grpc.credentials.createFromMetadataGenerator(metadataGenerator); + + return channelCredentials.compose(callCredentials); + } + + /** + * Configures base options from a parsed connection string. + */ + protected configureFromConnectionString(connectionString: DurableTaskAzureManagedConnectionString): void { + this._endpointAddress = connectionString.getEndpoint(); + this._taskHubName = connectionString.getTaskHubName(); + + const credential = getCredentialFromAuthenticationType(connectionString); + this._credential = credential; + this._allowInsecureCredentials = credential === null; + } +} + +/** + * Options for configuring the Azure-managed Durable Task client. + */ +export class DurableTaskAzureManagedClientOptions extends DurableTaskAzureManagedOptionsBase { + /** + * Creates a new instance of DurableTaskAzureManagedClientOptions. + */ + constructor() { + super(); + } + + /** + * Creates a new instance from a connection string. + */ + static fromConnectionString(connectionString: string): DurableTaskAzureManagedClientOptions { + const parsedConnectionString = new DurableTaskAzureManagedConnectionString(connectionString); + return DurableTaskAzureManagedClientOptions.fromParsedConnectionString(parsedConnectionString); + } + + /** + * Creates a new instance from a parsed connection string. + */ + static fromParsedConnectionString( + connectionString: DurableTaskAzureManagedConnectionString, + ): DurableTaskAzureManagedClientOptions { + const options = new DurableTaskAzureManagedClientOptions(); + options.configureFromConnectionString(connectionString); + return options; + } + + setEndpointAddress(endpointAddress: string): DurableTaskAzureManagedClientOptions { + this._endpointAddress = endpointAddress; + return this; + } + + setTaskHubName(taskHubName: string): DurableTaskAzureManagedClientOptions { + this._taskHubName = taskHubName; + return this; + } + + setCredential(credential: TokenCredential | null): DurableTaskAzureManagedClientOptions { + this._credential = credential; + return this; + } + + setResourceId(resourceId: string): DurableTaskAzureManagedClientOptions { + this._resourceId = resourceId; + return this; + } + + setAllowInsecureCredentials(allowInsecureCredentials: boolean): DurableTaskAzureManagedClientOptions { + this._allowInsecureCredentials = allowInsecureCredentials; + return this; + } + + setTokenRefreshMargin(tokenRefreshMargin: number): DurableTaskAzureManagedClientOptions { + this._tokenRefreshMargin = tokenRefreshMargin; + return this; + } + + setRetryOptions(retryOptions: ClientRetryOptions): DurableTaskAzureManagedClientOptions { + this._retryOptions = retryOptions; + return this; + } + + /** + * Creates a gRPC channel metadata generator. + * Does NOT include workerid header (client only). + */ + createMetadataGenerator(): ( + params: { service_url: string }, + callback: (error: Error | null, metadata?: grpc.Metadata) => void, + ) => void { + return this.createMetadataGeneratorInternal("DurableTaskClient"); + } + + /** + * Creates gRPC channel credentials for the client. + * Does NOT include workerid header. + */ + createChannelCredentials(): grpc.ChannelCredentials { + return this.createChannelCredentialsInternal("DurableTaskClient"); + } +} + +/** + * Options for configuring the Azure-managed Durable Task worker. + */ +export class DurableTaskAzureManagedWorkerOptions extends DurableTaskAzureManagedOptionsBase { + private _workerId: string; + + /** + * Creates a new instance of DurableTaskAzureManagedWorkerOptions. + */ + constructor() { + super(); + this._workerId = DurableTaskAzureManagedWorkerOptions.generateDefaultWorkerId(); + } + + /** + * Generates a default worker ID in the format: hostname,pid,uniqueId + * This matches the .NET format: {MachineName},{ProcessId},{Guid} + */ + private static generateDefaultWorkerId(): string { + // eslint-disable-next-line @typescript-eslint/no-var-requires + const os = require("os"); + // eslint-disable-next-line @typescript-eslint/no-var-requires + const crypto = require("crypto"); + const hostname = os.hostname(); + const pid = process.pid; + const uniqueId = crypto.randomUUID().replace(/-/g, ""); + return `${hostname},${pid},${uniqueId}`; + } + + /** + * Creates a new instance from a connection string. + */ + static fromConnectionString(connectionString: string): DurableTaskAzureManagedWorkerOptions { + const parsedConnectionString = new DurableTaskAzureManagedConnectionString(connectionString); + return DurableTaskAzureManagedWorkerOptions.fromParsedConnectionString(parsedConnectionString); + } + + /** + * Creates a new instance from a parsed connection string. + */ + static fromParsedConnectionString( + connectionString: DurableTaskAzureManagedConnectionString, + ): DurableTaskAzureManagedWorkerOptions { + const options = new DurableTaskAzureManagedWorkerOptions(); + options.configureFromConnectionString(connectionString); + return options; + } + + /** + * Gets the worker ID used to identify the worker instance. + */ + getWorkerId(): string { + return this._workerId; + } + + setEndpointAddress(endpointAddress: string): DurableTaskAzureManagedWorkerOptions { + this._endpointAddress = endpointAddress; + return this; + } + + setTaskHubName(taskHubName: string): DurableTaskAzureManagedWorkerOptions { + this._taskHubName = taskHubName; + return this; + } + + setCredential(credential: TokenCredential | null): DurableTaskAzureManagedWorkerOptions { + this._credential = credential; + return this; + } + + setResourceId(resourceId: string): DurableTaskAzureManagedWorkerOptions { + this._resourceId = resourceId; + return this; + } + + setAllowInsecureCredentials(allowInsecureCredentials: boolean): DurableTaskAzureManagedWorkerOptions { + this._allowInsecureCredentials = allowInsecureCredentials; + return this; + } + + setTokenRefreshMargin(tokenRefreshMargin: number): DurableTaskAzureManagedWorkerOptions { + this._tokenRefreshMargin = tokenRefreshMargin; + return this; + } + + /** + * Sets the worker ID used to identify the worker instance. + */ + setWorkerId(workerId: string): DurableTaskAzureManagedWorkerOptions { + this._workerId = workerId; + return this; + } + + /** + * Creates a gRPC channel metadata generator. + * Includes workerid header (worker only). + */ + createMetadataGenerator(): ( + params: { service_url: string }, + callback: (error: Error | null, metadata?: grpc.Metadata) => void, + ) => void { + return this.createMetadataGeneratorInternal("DurableTaskWorker", this._workerId); + } + + /** + * Creates gRPC channel credentials for the worker. + * Includes workerid header. + */ + createChannelCredentials(): grpc.ChannelCredentials { + return this.createChannelCredentialsInternal("DurableTaskWorker", this._workerId); + } +} diff --git a/packages/durabletask-js-azuremanaged/src/retry-policy.ts b/packages/durabletask-js-azuremanaged/src/retry-policy.ts new file mode 100644 index 0000000..9f889ac --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/retry-policy.ts @@ -0,0 +1,132 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { status as GrpcStatus } from "@grpc/grpc-js"; + +/** + * Default maximum number of retry attempts. + */ +export const DEFAULT_MAX_ATTEMPTS = 10; + +/** + * Default initial backoff in milliseconds. + */ +export const DEFAULT_INITIAL_BACKOFF_MS = 50; + +/** + * Default maximum backoff in milliseconds. + */ +export const DEFAULT_MAX_BACKOFF_MS = 250; + +/** + * Default backoff multiplier for exponential backoff. + */ +export const DEFAULT_BACKOFF_MULTIPLIER = 2; + +/** + * Options used to configure retries when making calls to the Scheduler. + */ +export interface ClientRetryOptions { + /** + * The maximum number of times a call should be retried. + */ + maxRetries?: number; + + /** + * The initial backoff in milliseconds. + */ + initialBackoffMs?: number; + + /** + * The maximum backoff in milliseconds. + */ + maxBackoffMs?: number; + + /** + * The backoff multiplier for exponential backoff. + */ + backoffMultiplier?: number; + + /** + * The list of gRPC status codes that can be retried. + * Default is [UNAVAILABLE]. + */ + retryableStatusCodes?: GrpcStatus[]; +} + +/** + * Converts a gRPC status code to its string name for use in service config. + * Ref: https://grpc.io/docs/guides/status-codes/ + */ +function statusCodeToName(code: GrpcStatus): string { + const statusNames: Record = { + [GrpcStatus.OK]: "OK", + [GrpcStatus.CANCELLED]: "CANCELLED", + [GrpcStatus.UNKNOWN]: "UNKNOWN", + [GrpcStatus.INVALID_ARGUMENT]: "INVALID_ARGUMENT", + [GrpcStatus.DEADLINE_EXCEEDED]: "DEADLINE_EXCEEDED", + [GrpcStatus.NOT_FOUND]: "NOT_FOUND", + [GrpcStatus.ALREADY_EXISTS]: "ALREADY_EXISTS", + [GrpcStatus.PERMISSION_DENIED]: "PERMISSION_DENIED", + [GrpcStatus.RESOURCE_EXHAUSTED]: "RESOURCE_EXHAUSTED", + [GrpcStatus.FAILED_PRECONDITION]: "FAILED_PRECONDITION", + [GrpcStatus.ABORTED]: "ABORTED", + [GrpcStatus.OUT_OF_RANGE]: "OUT_OF_RANGE", + [GrpcStatus.UNIMPLEMENTED]: "UNIMPLEMENTED", + [GrpcStatus.INTERNAL]: "INTERNAL", + [GrpcStatus.UNAVAILABLE]: "UNAVAILABLE", + [GrpcStatus.DATA_LOSS]: "DATA_LOSS", + [GrpcStatus.UNAUTHENTICATED]: "UNAUTHENTICATED", + }; + return statusNames[code] ?? "UNKNOWN"; +} + +/** + * Creates a gRPC service config JSON string with retry policy. + * + * @param options Optional retry options. If not provided, uses defaults. + * @returns A JSON string representing the service config. + */ +export function createServiceConfig(options?: ClientRetryOptions): string { + const maxAttempts = options?.maxRetries ?? DEFAULT_MAX_ATTEMPTS; + const initialBackoffMs = options?.initialBackoffMs ?? DEFAULT_INITIAL_BACKOFF_MS; + const maxBackoffMs = options?.maxBackoffMs ?? DEFAULT_MAX_BACKOFF_MS; + const backoffMultiplier = options?.backoffMultiplier ?? DEFAULT_BACKOFF_MULTIPLIER; + + // Default to UNAVAILABLE status code + const retryableStatusCodes = options?.retryableStatusCodes ?? [GrpcStatus.UNAVAILABLE]; + + // Ensure UNAVAILABLE is always included (as per .NET behavior) + const statusCodes = new Set(retryableStatusCodes); + statusCodes.add(GrpcStatus.UNAVAILABLE); + + const retryableStatusNames = Array.from(statusCodes).map(statusCodeToName); + + const serviceConfig = { + methodConfig: [ + { + name: [{ service: "" }], // Empty service name applies to all methods + retryPolicy: { + maxAttempts: maxAttempts, + initialBackoff: `${initialBackoffMs / 1000}s`, + maxBackoff: `${maxBackoffMs / 1000}s`, + backoffMultiplier: backoffMultiplier, + retryableStatusCodes: retryableStatusNames, + }, + }, + ], + }; + + return JSON.stringify(serviceConfig); +} + +/** + * The default service config JSON string with retry policy. + * Applies retry policy to all gRPC methods with: + * - Max 10 attempts + * - Initial backoff: 50ms + * - Max backoff: 250ms + * - Backoff multiplier: 2 + * - Retries only on UNAVAILABLE status + */ +export const DEFAULT_SERVICE_CONFIG = createServiceConfig(); diff --git a/packages/durabletask-js-azuremanaged/src/user-agent.ts b/packages/durabletask-js-azuremanaged/src/user-agent.ts new file mode 100644 index 0000000..6297ffc --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/user-agent.ts @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * The name of the SDK used in the user agent string. + */ +const SDK_NAME = "durabletask-js"; + +/** + * The version of the SDK, loaded from package.json at runtime. + */ +let packageVersion: string = "unknown"; + +/** + * Gets the package version from package.json. + * Caches the result for subsequent calls. + */ +function getPackageVersion(): string { + if (packageVersion === "unknown") { + try { + // eslint-disable-next-line @typescript-eslint/no-var-requires + const pkg = require("../package.json"); + packageVersion = pkg.version ?? "unknown"; + } catch { + // Keep as "unknown" + } + } + return packageVersion; +} + +/** + * Generates the user agent string for the Durable Task SDK. + * Format: durabletask-js/{version} ({callerType}) + * + * @param callerType The type of caller (e.g., "DurableTaskClient" or "DurableTaskWorker"). + * @returns The user agent string. + */ +export function getUserAgent(callerType: string): string { + return `${SDK_NAME}/${getPackageVersion()} (${callerType})`; +} diff --git a/packages/durabletask-js-azuremanaged/src/worker-builder.ts b/packages/durabletask-js-azuremanaged/src/worker-builder.ts new file mode 100644 index 0000000..809e741 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/src/worker-builder.ts @@ -0,0 +1,263 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { TokenCredential } from "@azure/identity"; +import * as grpc from "@grpc/grpc-js"; +import { DurableTaskAzureManagedWorkerOptions } from "./options"; +import { TaskHubGrpcWorker } from "@microsoft/durabletask-js"; + +// Types for orchestrator and activity functions +type TOrchestrator = (...args: any[]) => any; +type TActivity = (ctx: any, input: TInput) => TOutput | Promise; +type TInput = any; +type TOutput = any; + +/** + * Builder for creating DurableTaskWorker instances that connect to Azure-managed Durable Task service. + * This class provides various methods to create and configure workers using either connection strings or explicit parameters. + */ +export class DurableTaskAzureManagedWorkerBuilder { + private _options: DurableTaskAzureManagedWorkerOptions; + private _grpcChannelOptions: grpc.ChannelOptions = {}; + private _orchestrators: { name?: string; fn: TOrchestrator }[] = []; + private _activities: { name?: string; fn: TActivity }[] = []; + + /** + * Creates a new instance of DurableTaskAzureManagedWorkerBuilder. + */ + constructor() { + this._options = new DurableTaskAzureManagedWorkerOptions(); + } + + /** + * Configures the builder using a connection string. + * + * @param connectionString The connection string for Azure-managed Durable Task service. + * @returns This builder instance. + * @throws Error if connectionString is null or undefined. + */ + connectionString(connectionString: string): DurableTaskAzureManagedWorkerBuilder { + if (!connectionString) { + throw new Error("connectionString must not be null or empty"); + } + + this._options = DurableTaskAzureManagedWorkerOptions.fromConnectionString(connectionString); + return this; + } + + /** + * Configures the builder using explicit parameters. + * + * @param endpoint The endpoint address for Azure-managed Durable Task service. + * @param taskHubName The name of the task hub to connect to. + * @param credential The token credential for authentication, or null for anonymous access. + * @returns This builder instance. + * @throws Error if endpoint or taskHubName is null or undefined. + */ + endpoint( + endpoint: string, + taskHubName: string, + credential?: TokenCredential | null, + ): DurableTaskAzureManagedWorkerBuilder { + if (!endpoint) { + throw new Error("endpoint must not be null or empty"); + } + if (!taskHubName) { + throw new Error("taskHubName must not be null or empty"); + } + + this._options + .setEndpointAddress(endpoint) + .setTaskHubName(taskHubName) + .setCredential(credential ?? null) + .setAllowInsecureCredentials(credential === null || credential === undefined); + + return this; + } + + /** + * Sets the resource ID for authentication. + * + * @param resourceId The resource ID. + * @returns This builder instance. + */ + resourceId(resourceId: string): DurableTaskAzureManagedWorkerBuilder { + this._options.setResourceId(resourceId); + return this; + } + + /** + * Sets the token refresh margin. + * + * @param marginMs The token refresh margin in milliseconds. + * @returns This builder instance. + */ + tokenRefreshMargin(marginMs: number): DurableTaskAzureManagedWorkerBuilder { + this._options.setTokenRefreshMargin(marginMs); + return this; + } + + /** + * Sets the worker ID used to identify this worker instance. + * Default value is: hostname,pid,uniqueId + * + * @param workerId The worker ID. + * @returns This builder instance. + */ + workerId(workerId: string): DurableTaskAzureManagedWorkerBuilder { + this._options.setWorkerId(workerId); + return this; + } + + /** + * Sets whether insecure credentials are allowed. + * + * @param allowInsecure True to allow insecure credentials. + * @returns This builder instance. + */ + allowInsecureCredentials(allowInsecure: boolean): DurableTaskAzureManagedWorkerBuilder { + this._options.setAllowInsecureCredentials(allowInsecure); + return this; + } + + /** + * Sets additional gRPC channel options. + * + * @param options The gRPC channel options. + * @returns This builder instance. + */ + grpcChannelOptions(options: grpc.ChannelOptions): DurableTaskAzureManagedWorkerBuilder { + this._grpcChannelOptions = options; + return this; + } + + /** + * Registers an orchestrator function with the worker. + * + * @param fn The orchestrator function. + * @returns This builder instance. + */ + addOrchestrator(fn: TOrchestrator): DurableTaskAzureManagedWorkerBuilder { + this._orchestrators.push({ fn }); + return this; + } + + /** + * Registers a named orchestrator function with the worker. + * + * @param name The name of the orchestrator. + * @param fn The orchestrator function. + * @returns This builder instance. + */ + addNamedOrchestrator(name: string, fn: TOrchestrator): DurableTaskAzureManagedWorkerBuilder { + this._orchestrators.push({ name, fn }); + return this; + } + + /** + * Registers an activity function with the worker. + * + * @param fn The activity function. + * @returns This builder instance. + */ + addActivity(fn: TActivity): DurableTaskAzureManagedWorkerBuilder { + this._activities.push({ fn }); + return this; + } + + /** + * Registers a named activity function with the worker. + * + * @param name The name of the activity. + * @param fn The activity function. + * @returns This builder instance. + */ + addNamedActivity(name: string, fn: TActivity): DurableTaskAzureManagedWorkerBuilder { + this._activities.push({ name, fn }); + return this; + } + + /** + * Builds and returns a configured TaskHubGrpcWorker. + * + * @returns A new configured TaskHubGrpcWorker instance. + */ + build(): TaskHubGrpcWorker { + const hostAddress = this._options.getHostAddress(); + const channelCredentials = this._options.createChannelCredentials(); + + const defaultOptions: grpc.ChannelOptions = { + "grpc.primary_user_agent": "durabletask-js-azuremanaged", + "grpc.enable_retries": 1, + "grpc.service_config": this._options.getServiceConfig(), + }; + + const combinedOptions = { + ...defaultOptions, + ...this._grpcChannelOptions, + }; + + // Use the core TaskHubGrpcWorker with custom credentials (no inheritance needed) + const worker = new TaskHubGrpcWorker(hostAddress, combinedOptions, true, channelCredentials); + + // Register all orchestrators + for (const { name, fn } of this._orchestrators) { + if (name) { + worker.addNamedOrchestrator(name, fn); + } else { + worker.addOrchestrator(fn); + } + } + + // Register all activities + for (const { name, fn } of this._activities) { + if (name) { + worker.addNamedActivity(name, fn); + } else { + worker.addActivity(fn); + } + } + + return worker; + } +} + +/** + * Creates an Azure-managed Durable Task worker builder using a connection string. + * + * @param connectionString The connection string for Azure-managed Durable Task service. + * @returns A new DurableTaskAzureManagedWorkerBuilder instance. + * @throws Error if connectionString is null or undefined. + */ +export function createAzureManagedWorkerBuilder(connectionString: string): DurableTaskAzureManagedWorkerBuilder; + +/** + * Creates an Azure-managed Durable Task worker builder using explicit parameters. + * + * @param endpoint The endpoint address for Azure-managed Durable Task service. + * @param taskHubName The name of the task hub to connect to. + * @param credential The token credential for authentication, or null for anonymous access. + * @returns A new DurableTaskAzureManagedWorkerBuilder instance. + * @throws Error if endpoint or taskHubName is null or undefined. + */ +export function createAzureManagedWorkerBuilder( + endpoint: string, + taskHubName: string, + credential?: TokenCredential | null, +): DurableTaskAzureManagedWorkerBuilder; + +export function createAzureManagedWorkerBuilder( + endpointOrConnectionString: string, + taskHubName?: string, + credential?: TokenCredential | null, +): DurableTaskAzureManagedWorkerBuilder { + const builder = new DurableTaskAzureManagedWorkerBuilder(); + + if (taskHubName !== undefined) { + // Called with (endpoint, taskHubName, credential?) + return builder.endpoint(endpointOrConnectionString, taskHubName, credential); + } else { + // Called with (connectionString) + return builder.connectionString(endpointOrConnectionString); + } +} diff --git a/packages/durabletask-js-azuremanaged/test/unit/connection-string.spec.ts b/packages/durabletask-js-azuremanaged/test/unit/connection-string.spec.ts new file mode 100644 index 0000000..00767db --- /dev/null +++ b/packages/durabletask-js-azuremanaged/test/unit/connection-string.spec.ts @@ -0,0 +1,163 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { DurableTaskAzureManagedConnectionString } from "../../src/connection-string"; + +describe("DurableTaskAzureManagedConnectionString", () => { + const VALID_CONNECTION_STRING = "Endpoint=https://example.com;Authentication=ManagedIdentity;TaskHub=myTaskHub"; + + describe("constructor", () => { + it("should parse valid connection string", () => { + const connectionString = new DurableTaskAzureManagedConnectionString(VALID_CONNECTION_STRING); + + expect(connectionString.getEndpoint()).toBe("https://example.com"); + expect(connectionString.getAuthentication()).toBe("ManagedIdentity"); + expect(connectionString.getTaskHubName()).toBe("myTaskHub"); + }); + + it("should handle connection string with whitespace", () => { + const connectionStringWithSpaces = + "Endpoint = https://example.com ; Authentication = ManagedIdentity ; TaskHub = myTaskHub"; + + const connectionString = new DurableTaskAzureManagedConnectionString(connectionStringWithSpaces); + + expect(connectionString.getEndpoint()).toBe("https://example.com"); + expect(connectionString.getAuthentication()).toBe("ManagedIdentity"); + expect(connectionString.getTaskHubName()).toBe("myTaskHub"); + }); + + it("should throw for null connection string", () => { + expect(() => new DurableTaskAzureManagedConnectionString(null as unknown as string)).toThrow( + "connectionString must not be null or empty", + ); + }); + + it("should throw for empty connection string", () => { + expect(() => new DurableTaskAzureManagedConnectionString("")).toThrow( + "connectionString must not be null or empty", + ); + }); + + it("should throw for whitespace-only connection string", () => { + expect(() => new DurableTaskAzureManagedConnectionString(" ")).toThrow( + "connectionString must not be null or empty", + ); + }); + + it("should throw when missing required Endpoint property", () => { + const missingEndpoint = "Authentication=ManagedIdentity;TaskHub=myTaskHub"; + + expect(() => new DurableTaskAzureManagedConnectionString(missingEndpoint)).toThrow( + "The connection string must contain an Endpoint property", + ); + }); + + it("should throw when missing required Authentication property", () => { + const missingAuthentication = "Endpoint=https://example.com;TaskHub=myTaskHub"; + + expect(() => new DurableTaskAzureManagedConnectionString(missingAuthentication)).toThrow( + "The connection string must contain an Authentication property", + ); + }); + + it("should throw when missing required TaskHub property", () => { + const missingTaskHub = "Endpoint=https://example.com;Authentication=ManagedIdentity"; + + expect(() => new DurableTaskAzureManagedConnectionString(missingTaskHub)).toThrow( + "The connection string must contain a TaskHub property", + ); + }); + }); + + describe("getAdditionallyAllowedTenants", () => { + it("should return split comma-separated values", () => { + const connectionStringWithTenants = + VALID_CONNECTION_STRING + ";AdditionallyAllowedTenants=tenant1,tenant2,tenant3"; + + const connectionString = new DurableTaskAzureManagedConnectionString(connectionStringWithTenants); + const tenants = connectionString.getAdditionallyAllowedTenants(); + + expect(tenants).not.toBeNull(); + expect(tenants).toHaveLength(3); + expect(tenants).toEqual(["tenant1", "tenant2", "tenant3"]); + }); + + it("should return undefined when property not present", () => { + const connectionString = new DurableTaskAzureManagedConnectionString(VALID_CONNECTION_STRING); + + expect(connectionString.getAdditionallyAllowedTenants()).toBeUndefined(); + }); + }); + + describe("getClientId", () => { + it("should return correct value when present", () => { + const connectionStringWithClientId = VALID_CONNECTION_STRING + ";ClientID=my-client-id"; + + const connectionString = new DurableTaskAzureManagedConnectionString(connectionStringWithClientId); + + expect(connectionString.getClientId()).toBe("my-client-id"); + }); + + it("should return undefined when not present", () => { + const connectionString = new DurableTaskAzureManagedConnectionString(VALID_CONNECTION_STRING); + + expect(connectionString.getClientId()).toBeUndefined(); + }); + }); + + describe("getTenantId", () => { + it("should return correct value when present", () => { + const connectionStringWithTenantId = VALID_CONNECTION_STRING + ";TenantId=my-tenant-id"; + + const connectionString = new DurableTaskAzureManagedConnectionString(connectionStringWithTenantId); + + expect(connectionString.getTenantId()).toBe("my-tenant-id"); + }); + + it("should return undefined when not present", () => { + const connectionString = new DurableTaskAzureManagedConnectionString(VALID_CONNECTION_STRING); + + expect(connectionString.getTenantId()).toBeUndefined(); + }); + }); + + describe("getTokenFilePath", () => { + it("should return correct value when present", () => { + const connectionStringWithTokenFilePath = VALID_CONNECTION_STRING + ";TokenFilePath=/path/to/token"; + + const connectionString = new DurableTaskAzureManagedConnectionString(connectionStringWithTokenFilePath); + + expect(connectionString.getTokenFilePath()).toBe("/path/to/token"); + }); + + it("should return undefined when not present", () => { + const connectionString = new DurableTaskAzureManagedConnectionString(VALID_CONNECTION_STRING); + + expect(connectionString.getTokenFilePath()).toBeUndefined(); + }); + }); + + describe("authentication types", () => { + const authenticationTypes = [ + "DefaultAzure", + "ManagedIdentity", + "WorkloadIdentity", + "Environment", + "AzureCli", + "AzurePowerShell", + "VisualStudioCode", + "InteractiveBrowser", + "None", + ]; + + authenticationTypes.forEach((authType) => { + it(`should accept ${authType} authentication type`, () => { + const connectionStringWithAuthType = `Endpoint=https://example.com;Authentication=${authType};TaskHub=myTaskHub`; + + const connectionString = new DurableTaskAzureManagedConnectionString(connectionStringWithAuthType); + + expect(connectionString.getAuthentication()).toBe(authType); + }); + }); + }); +}); diff --git a/packages/durabletask-js-azuremanaged/test/unit/options.spec.ts b/packages/durabletask-js-azuremanaged/test/unit/options.spec.ts new file mode 100644 index 0000000..ff2fafc --- /dev/null +++ b/packages/durabletask-js-azuremanaged/test/unit/options.spec.ts @@ -0,0 +1,321 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { DurableTaskAzureManagedClientOptions, DurableTaskAzureManagedWorkerOptions } from "../../src/options"; +import { TokenCredential, AccessToken, GetTokenOptions } from "@azure/identity"; + +// Mock TokenCredential for testing +class MockTokenCredential implements TokenCredential { + async getToken(_scopes: string | string[], _options?: GetTokenOptions): Promise { + return { + token: "mock-token", + expiresOnTimestamp: Date.now() + 3600000, // 1 hour from now + }; + } +} + +describe("Options", () => { + const VALID_CONNECTION_STRING = "Endpoint=https://example.com;Authentication=None;TaskHub=myTaskHub"; + const VALID_ENDPOINT = "https://example.com"; + const VALID_TASKHUB = "myTaskHub"; + const CUSTOM_RESOURCE_ID = "https://custom.resource"; + const CUSTOM_REFRESH_MARGIN = 10 * 60 * 1000; // 10 minutes in ms + + describe("DurableTaskAzureManagedClientOptions", () => { + describe("fromConnectionString", () => { + it("should create valid options from connection string", () => { + const options = DurableTaskAzureManagedClientOptions.fromConnectionString(VALID_CONNECTION_STRING); + + expect(options.getEndpointAddress()).toBe(VALID_ENDPOINT); + expect(options.getTaskHubName()).toBe(VALID_TASKHUB); + }); + }); + + describe("setEndpointAddress", () => { + it("should update endpoint", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + options.setEndpointAddress(VALID_ENDPOINT); + + expect(options.getEndpointAddress()).toBe(VALID_ENDPOINT); + }); + + it("should return this for method chaining", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + const result = options.setEndpointAddress(VALID_ENDPOINT); + + expect(result).toBe(options); + }); + }); + + describe("setTaskHubName", () => { + it("should update task hub name", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + options.setTaskHubName(VALID_TASKHUB); + + expect(options.getTaskHubName()).toBe(VALID_TASKHUB); + }); + + it("should return this for method chaining", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + const result = options.setTaskHubName(VALID_TASKHUB); + + expect(result).toBe(options); + }); + }); + + describe("setCredential", () => { + it("should update credential", () => { + const options = new DurableTaskAzureManagedClientOptions(); + const mockCredential = new MockTokenCredential(); + + options.setCredential(mockCredential); + + expect(options.getCredential()).toBe(mockCredential); + }); + + it("should return this for method chaining", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + const result = options.setCredential(null); + + expect(result).toBe(options); + }); + }); + + describe("setResourceId", () => { + it("should update resource ID", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + options.setResourceId(CUSTOM_RESOURCE_ID); + + expect(options.getResourceId()).toBe(CUSTOM_RESOURCE_ID); + }); + + it("should have default resource ID", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + expect(options.getResourceId()).toBe("https://durabletask.io"); + }); + }); + + describe("setAllowInsecureCredentials", () => { + it("should update insecure credentials flag", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + options.setAllowInsecureCredentials(true); + + expect(options.isAllowInsecureCredentials()).toBe(true); + }); + + it("should default to false", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + expect(options.isAllowInsecureCredentials()).toBe(false); + }); + }); + + describe("setTokenRefreshMargin", () => { + it("should update token refresh margin", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + options.setTokenRefreshMargin(CUSTOM_REFRESH_MARGIN); + + expect(options.getTokenRefreshMargin()).toBe(CUSTOM_REFRESH_MARGIN); + }); + + it("should have default token refresh margin of 5 minutes", () => { + const options = new DurableTaskAzureManagedClientOptions(); + + expect(options.getTokenRefreshMargin()).toBe(5 * 60 * 1000); + }); + }); + + describe("getHostAddress", () => { + it("should parse https endpoint correctly", () => { + const options = new DurableTaskAzureManagedClientOptions().setEndpointAddress("https://example.com"); + + expect(options.getHostAddress()).toBe("example.com"); + }); + + it("should handle endpoint without protocol by adding https", () => { + const options = new DurableTaskAzureManagedClientOptions().setEndpointAddress("example.com"); + + expect(options.getHostAddress()).toBe("example.com"); + }); + + it("should handle endpoint with port", () => { + const options = new DurableTaskAzureManagedClientOptions().setEndpointAddress("https://example.com:8080"); + + expect(options.getHostAddress()).toBe("example.com:8080"); + }); + + it("should throw for invalid URL", () => { + const options = new DurableTaskAzureManagedClientOptions().setEndpointAddress("invalid:url"); + + expect(() => options.getHostAddress()).toThrow("Invalid endpoint URL:"); + }); + }); + + describe("createChannelCredentials", () => { + it("should create credentials when allowInsecure is false", () => { + const options = new DurableTaskAzureManagedClientOptions() + .setEndpointAddress(VALID_ENDPOINT) + .setTaskHubName(VALID_TASKHUB) + .setAllowInsecureCredentials(false); + + const credentials = options.createChannelCredentials(); + + expect(credentials).toBeDefined(); + }); + + it("should create credentials when allowInsecure is true", () => { + const options = new DurableTaskAzureManagedClientOptions() + .setEndpointAddress(VALID_ENDPOINT) + .setTaskHubName(VALID_TASKHUB) + .setAllowInsecureCredentials(true); + + const credentials = options.createChannelCredentials(); + + expect(credentials).toBeDefined(); + }); + }); + + describe("createMetadataGenerator", () => { + it("should create a metadata generator function", () => { + const options = new DurableTaskAzureManagedClientOptions() + .setEndpointAddress(VALID_ENDPOINT) + .setTaskHubName(VALID_TASKHUB); + + const generator = options.createMetadataGenerator(); + + expect(typeof generator).toBe("function"); + }); + + it("should include task hub name in metadata", (done) => { + const options = new DurableTaskAzureManagedClientOptions() + .setEndpointAddress(VALID_ENDPOINT) + .setTaskHubName(VALID_TASKHUB); + + const generator = options.createMetadataGenerator(); + + generator({ service_url: "https://example.com" }, (error, metadata) => { + expect(error).toBeNull(); + expect(metadata).toBeDefined(); + expect(metadata?.get("taskhub")).toContain(VALID_TASKHUB); + done(); + }); + }); + + it("should include authorization header when credential is set", (done) => { + const mockCredential = new MockTokenCredential(); + const options = new DurableTaskAzureManagedClientOptions() + .setEndpointAddress(VALID_ENDPOINT) + .setTaskHubName(VALID_TASKHUB) + .setCredential(mockCredential); + + const generator = options.createMetadataGenerator(); + + generator({ service_url: "https://example.com" }, (error, metadata) => { + expect(error).toBeNull(); + expect(metadata).toBeDefined(); + const authHeader = metadata?.get("Authorization"); + expect(authHeader).toBeDefined(); + expect(authHeader?.[0]).toContain("Bearer"); + done(); + }); + }); + + it("should NOT include workerid header in metadata (client only)", (done) => { + const options = new DurableTaskAzureManagedClientOptions() + .setEndpointAddress(VALID_ENDPOINT) + .setTaskHubName(VALID_TASKHUB); + + const generator = options.createMetadataGenerator(); + + generator({ service_url: "https://example.com" }, (error, metadata) => { + expect(error).toBeNull(); + expect(metadata).toBeDefined(); + // Client should NOT have workerid header + expect(metadata?.get("workerid")).toEqual([]); + done(); + }); + }); + }); + }); + + describe("DurableTaskAzureManagedWorkerOptions", () => { + describe("fromConnectionString", () => { + it("should create valid options from connection string", () => { + const options = DurableTaskAzureManagedWorkerOptions.fromConnectionString(VALID_CONNECTION_STRING); + + expect(options.getEndpointAddress()).toBe(VALID_ENDPOINT); + expect(options.getTaskHubName()).toBe(VALID_TASKHUB); + }); + }); + + describe("workerId", () => { + it("should generate a default workerId", () => { + const options = new DurableTaskAzureManagedWorkerOptions(); + + expect(options.getWorkerId()).toBeDefined(); + expect(options.getWorkerId().length).toBeGreaterThan(0); + }); + + it("should allow setting a custom workerId", () => { + const options = new DurableTaskAzureManagedWorkerOptions(); + const customWorkerId = "custom-worker-123"; + + options.setWorkerId(customWorkerId); + + expect(options.getWorkerId()).toBe(customWorkerId); + }); + + it("should return this for method chaining", () => { + const options = new DurableTaskAzureManagedWorkerOptions(); + + const result = options.setWorkerId("test"); + + expect(result).toBe(options); + }); + }); + + describe("createMetadataGenerator", () => { + it("should include workerid header in metadata", (done) => { + const options = new DurableTaskAzureManagedWorkerOptions() + .setEndpointAddress(VALID_ENDPOINT) + .setTaskHubName(VALID_TASKHUB) + .setWorkerId("test-worker"); + + const generator = options.createMetadataGenerator(); + + generator({ service_url: "https://example.com" }, (error, metadata) => { + expect(error).toBeNull(); + expect(metadata).toBeDefined(); + expect(metadata?.get("workerid")).toContain("test-worker"); + done(); + }); + }); + + it("should include x-user-agent header with DurableTaskWorker", (done) => { + const options = new DurableTaskAzureManagedWorkerOptions() + .setEndpointAddress(VALID_ENDPOINT) + .setTaskHubName(VALID_TASKHUB); + + const generator = options.createMetadataGenerator(); + + generator({ service_url: "https://example.com" }, (error, metadata) => { + expect(error).toBeNull(); + expect(metadata).toBeDefined(); + const userAgentHeader = metadata?.get("x-user-agent"); + expect(userAgentHeader).toBeDefined(); + expect(userAgentHeader?.[0]).toContain("DurableTaskWorker"); + done(); + }); + }); + }); + }); +}); diff --git a/packages/durabletask-js-azuremanaged/tsconfig.build.json b/packages/durabletask-js-azuremanaged/tsconfig.build.json new file mode 100644 index 0000000..668867e --- /dev/null +++ b/packages/durabletask-js-azuremanaged/tsconfig.build.json @@ -0,0 +1,9 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist" + }, + "include": ["src"], + "exclude": ["node_modules", "dist", "test"] +} diff --git a/packages/durabletask-js-azuremanaged/tsconfig.json b/packages/durabletask-js-azuremanaged/tsconfig.json new file mode 100644 index 0000000..0180107 --- /dev/null +++ b/packages/durabletask-js-azuremanaged/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist" + }, + "include": ["src"], + "exclude": ["node_modules", "dist", "test"] +} diff --git a/packages/durabletask-js/jest.config.js b/packages/durabletask-js/jest.config.js new file mode 100644 index 0000000..6c89eec --- /dev/null +++ b/packages/durabletask-js/jest.config.js @@ -0,0 +1,15 @@ +/** @type {import('ts-jest').JestConfigWithTsJest} */ +module.exports = { + preset: "ts-jest", + testEnvironment: "node", + testMatch: ["**/test/**/*.spec.ts"], + moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], + transform: { + "^.+\\.tsx?$": [ + "ts-jest", + { + tsconfig: "tsconfig.json", + }, + ], + }, +}; diff --git a/packages/durabletask-js/package.json b/packages/durabletask-js/package.json new file mode 100644 index 0000000..d2e3f9f --- /dev/null +++ b/packages/durabletask-js/package.json @@ -0,0 +1,52 @@ +{ + "name": "@microsoft/durabletask-js", + "version": "0.1.0-alpha.2", + "description": "A Durable Task Javascript SDK compatible with Dapr Workflow and its underlying Durable Task engine", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "files": [ + "dist", + "LICENSE", + "README.md" + ], + "scripts": { + "clean": "node -e \"require('fs').rmSync('dist', {recursive:true, force:true})\"", + "copy-proto": "node -e \"require('fs').cpSync('src/proto', 'dist/proto', {recursive:true})\"", + "prebuild": "node -p \"'// Auto-generated by prebuild\\nexport const SDK_VERSION = ' + JSON.stringify(require('./package.json').version) + ';\\nexport const SDK_PACKAGE_NAME = ' + JSON.stringify(require('./package.json').name) + ';'\" > src/version.ts", + "build": "npm run prebuild && npm run clean && tsc -p tsconfig.build.json && npm run copy-proto", + "test": "jest --runInBand --detectOpenHandles", + "test:unit": "jest test --runInBand --detectOpenHandles" + }, + "engines": { + "node": ">=22.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/microsoft/durabletask-js.git", + "directory": "packages/durabletask-js" + }, + "keywords": [ + "durabletask", + "orchestration", + "workflow", + "durable" + ], + "author": "Microsoft", + "license": "MIT", + "bugs": { + "url": "https://github.com/microsoft/durabletask-js/issues" + }, + "homepage": "https://github.com/microsoft/durabletask-js#readme", + "dependencies": { + "@grpc/grpc-js": "^1.14.3", + "google-protobuf": "^3.21.2" + }, + "devDependencies": { + "@types/google-protobuf": "^3.15.6", + "@types/jest": "^29.5.1", + "@types/node": "^18.16.1", + "jest": "^29.5.0", + "ts-jest": "^29.1.0", + "typescript": "^5.0.4" + } +} diff --git a/src/client/client-grpc.ts b/packages/durabletask-js/src/client/client-grpc.ts similarity index 66% rename from src/client/client-grpc.ts rename to packages/durabletask-js/src/client/client-grpc.ts index 37de83d..35debf3 100644 --- a/src/client/client-grpc.ts +++ b/packages/durabletask-js/src/client/client-grpc.ts @@ -8,12 +8,27 @@ export class GrpcClient { private readonly _hostAddress: string; private readonly _tls: boolean; private readonly _options: grpc.ChannelOptions; + private readonly _credentials?: grpc.ChannelCredentials; private _stub: stubs.TaskHubSidecarServiceClient; - constructor(hostAddress: string = "localhost:4001", options: grpc.ChannelOptions = {}, useTLS: boolean = false) { + /** + * Creates a new GrpcClient instance. + * + * @param hostAddress The host address to connect to. Defaults to "localhost:4001". + * @param options gRPC channel options. + * @param useTLS Whether to use TLS. Defaults to false. + * @param credentials Optional pre-configured channel credentials. If provided, useTLS is ignored. + */ + constructor( + hostAddress: string = "localhost:4001", + options: grpc.ChannelOptions = {}, + useTLS: boolean = false, + credentials?: grpc.ChannelCredentials, + ) { this._hostAddress = hostAddress; this._tls = useTLS; this._options = this._generateChannelOptions(options); + this._credentials = credentials; this._stub = this._generateClient(); } @@ -22,7 +37,7 @@ export class GrpcClient { } _generateClient(): stubs.TaskHubSidecarServiceClient { - const channelCreds = this._generateCredentials(); + const channelCreds = this._credentials ?? this._generateCredentials(); return new stubs.TaskHubSidecarServiceClient(this._hostAddress, channelCreds, this._options); } diff --git a/src/client/client.ts b/packages/durabletask-js/src/client/client.ts similarity index 95% rename from src/client/client.ts rename to packages/durabletask-js/src/client/client.ts index ea65d1d..fe930cc 100644 --- a/src/client/client.ts +++ b/packages/durabletask-js/src/client/client.ts @@ -22,8 +22,21 @@ import * as grpc from "@grpc/grpc-js"; export class TaskHubGrpcClient { private _stub: stubs.TaskHubSidecarServiceClient; - constructor(hostAddress?: string, option?: grpc.ChannelOptions, useTLS?: boolean) { - this._stub = new GrpcClient(hostAddress, option, useTLS).stub; + /** + * Creates a new TaskHubGrpcClient instance. + * + * @param hostAddress The host address to connect to. Defaults to "localhost:4001". + * @param options gRPC channel options. + * @param useTLS Whether to use TLS. Defaults to false. + * @param credentials Optional pre-configured channel credentials. If provided, useTLS is ignored. + */ + constructor( + hostAddress?: string, + options?: grpc.ChannelOptions, + useTLS?: boolean, + credentials?: grpc.ChannelCredentials, + ) { + this._stub = new GrpcClient(hostAddress, options, useTLS, credentials).stub; } async stop(): Promise { diff --git a/src/exception/timeout-error.ts b/packages/durabletask-js/src/exception/timeout-error.ts similarity index 100% rename from src/exception/timeout-error.ts rename to packages/durabletask-js/src/exception/timeout-error.ts diff --git a/packages/durabletask-js/src/index.ts b/packages/durabletask-js/src/index.ts new file mode 100644 index 0000000..1d742fb --- /dev/null +++ b/packages/durabletask-js/src/index.ts @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// Client and Worker +export { TaskHubGrpcClient } from "./client/client"; +export { TaskHubGrpcWorker } from "./worker/task-hub-grpc-worker"; + +// Contexts +export { OrchestrationContext } from "./task/context/orchestration-context"; +export { ActivityContext } from "./task/context/activity-context"; + +// Orchestration types and utilities +export { PurgeInstanceCriteria } from "./orchestration/orchestration-purge-criteria"; +export { OrchestrationStatus } from "./orchestration/enum/orchestration-status.enum"; + +// Proto types (for advanced usage) +export { OrchestrationStatus as ProtoOrchestrationStatus } from "./proto/orchestrator_service_pb"; + +// Task utilities +export { getName, whenAll, whenAny } from "./task"; +export { Task } from "./task/task"; + +// Types +export { TOrchestrator } from "./types/orchestrator.type"; +export { TActivity } from "./types/activity.type"; +export { TInput } from "./types/input.type"; +export { TOutput } from "./types/output.type"; diff --git a/src/orchestration/enum/orchestration-status.enum.ts b/packages/durabletask-js/src/orchestration/enum/orchestration-status.enum.ts similarity index 100% rename from src/orchestration/enum/orchestration-status.enum.ts rename to packages/durabletask-js/src/orchestration/enum/orchestration-status.enum.ts diff --git a/src/orchestration/exception/orchestration-failed-error.ts b/packages/durabletask-js/src/orchestration/exception/orchestration-failed-error.ts similarity index 100% rename from src/orchestration/exception/orchestration-failed-error.ts rename to packages/durabletask-js/src/orchestration/exception/orchestration-failed-error.ts diff --git a/src/orchestration/index.ts b/packages/durabletask-js/src/orchestration/index.ts similarity index 100% rename from src/orchestration/index.ts rename to packages/durabletask-js/src/orchestration/index.ts diff --git a/src/orchestration/orchestration-purge-criteria.ts b/packages/durabletask-js/src/orchestration/orchestration-purge-criteria.ts similarity index 100% rename from src/orchestration/orchestration-purge-criteria.ts rename to packages/durabletask-js/src/orchestration/orchestration-purge-criteria.ts diff --git a/src/orchestration/orchestration-purge-result.ts b/packages/durabletask-js/src/orchestration/orchestration-purge-result.ts similarity index 100% rename from src/orchestration/orchestration-purge-result.ts rename to packages/durabletask-js/src/orchestration/orchestration-purge-result.ts diff --git a/src/orchestration/orchestration-state.ts b/packages/durabletask-js/src/orchestration/orchestration-state.ts similarity index 100% rename from src/orchestration/orchestration-state.ts rename to packages/durabletask-js/src/orchestration/orchestration-state.ts diff --git a/src/proto/orchestrator_service_grpc_pb.d.ts b/packages/durabletask-js/src/proto/orchestrator_service_grpc_pb.d.ts similarity index 57% rename from src/proto/orchestrator_service_grpc_pb.d.ts rename to packages/durabletask-js/src/proto/orchestrator_service_grpc_pb.d.ts index 7bb28a6..333c015 100644 --- a/src/proto/orchestrator_service_grpc_pb.d.ts +++ b/packages/durabletask-js/src/proto/orchestrator_service_grpc_pb.d.ts @@ -7,14 +7,17 @@ import * as grpc from "@grpc/grpc-js"; import * as orchestrator_service_pb from "./orchestrator_service_pb"; import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; +import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb"; import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb"; import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; interface ITaskHubSidecarServiceService extends grpc.ServiceDefinition { hello: ITaskHubSidecarServiceService_IHello; startInstance: ITaskHubSidecarServiceService_IStartInstance; getInstance: ITaskHubSidecarServiceService_IGetInstance; rewindInstance: ITaskHubSidecarServiceService_IRewindInstance; + restartInstance: ITaskHubSidecarServiceService_IRestartInstance; waitForInstanceStart: ITaskHubSidecarServiceService_IWaitForInstanceStart; waitForInstanceCompletion: ITaskHubSidecarServiceService_IWaitForInstanceCompletion; raiseEvent: ITaskHubSidecarServiceService_IRaiseEvent; @@ -22,12 +25,23 @@ interface ITaskHubSidecarServiceService extends grpc.ServiceDefinition { @@ -66,6 +80,15 @@ interface ITaskHubSidecarServiceService_IRewindInstance extends grpc.MethodDefin responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } +interface ITaskHubSidecarServiceService_IRestartInstance extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/RestartInstance"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} interface ITaskHubSidecarServiceService_IWaitForInstanceStart extends grpc.MethodDefinition { path: "/TaskHubSidecarService/WaitForInstanceStart"; requestStream: false; @@ -129,6 +152,15 @@ interface ITaskHubSidecarServiceService_IQueryInstances extends grpc.MethodDefin responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } +interface ITaskHubSidecarServiceService_IListInstanceIds extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/ListInstanceIds"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} interface ITaskHubSidecarServiceService_IPurgeInstances extends grpc.MethodDefinition { path: "/TaskHubSidecarService/PurgeInstances"; requestStream: false; @@ -165,6 +197,24 @@ interface ITaskHubSidecarServiceService_ICompleteOrchestratorTask extends grpc.M responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } +interface ITaskHubSidecarServiceService_ICompleteEntityTask extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/CompleteEntityTask"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITaskHubSidecarServiceService_IStreamInstanceHistory extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/StreamInstanceHistory"; + requestStream: false; + responseStream: true; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} interface ITaskHubSidecarServiceService_ICreateTaskHub extends grpc.MethodDefinition { path: "/TaskHubSidecarService/CreateTaskHub"; requestStream: false; @@ -183,6 +233,78 @@ interface ITaskHubSidecarServiceService_IDeleteTaskHub extends grpc.MethodDefini responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } +interface ITaskHubSidecarServiceService_ISignalEntity extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/SignalEntity"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITaskHubSidecarServiceService_IGetEntity extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/GetEntity"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITaskHubSidecarServiceService_IQueryEntities extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/QueryEntities"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITaskHubSidecarServiceService_ICleanEntityStorage extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/CleanEntityStorage"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITaskHubSidecarServiceService_IAbandonTaskActivityWorkItem extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/AbandonTaskActivityWorkItem"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITaskHubSidecarServiceService_IAbandonTaskOrchestratorWorkItem extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/AbandonTaskOrchestratorWorkItem"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITaskHubSidecarServiceService_IAbandonTaskEntityWorkItem extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/AbandonTaskEntityWorkItem"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} +interface ITaskHubSidecarServiceService_ISkipGracefulOrchestrationTerminations extends grpc.MethodDefinition { + path: "/TaskHubSidecarService/SkipGracefulOrchestrationTerminations"; + requestStream: false; + responseStream: false; + requestSerialize: grpc.serialize; + requestDeserialize: grpc.deserialize; + responseSerialize: grpc.serialize; + responseDeserialize: grpc.deserialize; +} export const TaskHubSidecarServiceService: ITaskHubSidecarServiceService; @@ -191,6 +313,7 @@ export interface ITaskHubSidecarServiceServer extends grpc.UntypedServiceImpleme startInstance: grpc.handleUnaryCall; getInstance: grpc.handleUnaryCall; rewindInstance: grpc.handleUnaryCall; + restartInstance: grpc.handleUnaryCall; waitForInstanceStart: grpc.handleUnaryCall; waitForInstanceCompletion: grpc.handleUnaryCall; raiseEvent: grpc.handleUnaryCall; @@ -198,12 +321,23 @@ export interface ITaskHubSidecarServiceServer extends grpc.UntypedServiceImpleme suspendInstance: grpc.handleUnaryCall; resumeInstance: grpc.handleUnaryCall; queryInstances: grpc.handleUnaryCall; + listInstanceIds: grpc.handleUnaryCall; purgeInstances: grpc.handleUnaryCall; getWorkItems: grpc.handleServerStreamingCall; completeActivityTask: grpc.handleUnaryCall; completeOrchestratorTask: grpc.handleUnaryCall; + completeEntityTask: grpc.handleUnaryCall; + streamInstanceHistory: grpc.handleServerStreamingCall; createTaskHub: grpc.handleUnaryCall; deleteTaskHub: grpc.handleUnaryCall; + signalEntity: grpc.handleUnaryCall; + getEntity: grpc.handleUnaryCall; + queryEntities: grpc.handleUnaryCall; + cleanEntityStorage: grpc.handleUnaryCall; + abandonTaskActivityWorkItem: grpc.handleUnaryCall; + abandonTaskOrchestratorWorkItem: grpc.handleUnaryCall; + abandonTaskEntityWorkItem: grpc.handleUnaryCall; + skipGracefulOrchestrationTerminations: grpc.handleUnaryCall; } export interface ITaskHubSidecarServiceClient { @@ -219,6 +353,9 @@ export interface ITaskHubSidecarServiceClient { rewindInstance(request: orchestrator_service_pb.RewindInstanceRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RewindInstanceResponse) => void): grpc.ClientUnaryCall; rewindInstance(request: orchestrator_service_pb.RewindInstanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RewindInstanceResponse) => void): grpc.ClientUnaryCall; rewindInstance(request: orchestrator_service_pb.RewindInstanceRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RewindInstanceResponse) => void): grpc.ClientUnaryCall; + restartInstance(request: orchestrator_service_pb.RestartInstanceRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RestartInstanceResponse) => void): grpc.ClientUnaryCall; + restartInstance(request: orchestrator_service_pb.RestartInstanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RestartInstanceResponse) => void): grpc.ClientUnaryCall; + restartInstance(request: orchestrator_service_pb.RestartInstanceRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RestartInstanceResponse) => void): grpc.ClientUnaryCall; waitForInstanceStart(request: orchestrator_service_pb.GetInstanceRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetInstanceResponse) => void): grpc.ClientUnaryCall; waitForInstanceStart(request: orchestrator_service_pb.GetInstanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetInstanceResponse) => void): grpc.ClientUnaryCall; waitForInstanceStart(request: orchestrator_service_pb.GetInstanceRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetInstanceResponse) => void): grpc.ClientUnaryCall; @@ -240,6 +377,9 @@ export interface ITaskHubSidecarServiceClient { queryInstances(request: orchestrator_service_pb.QueryInstancesRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryInstancesResponse) => void): grpc.ClientUnaryCall; queryInstances(request: orchestrator_service_pb.QueryInstancesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryInstancesResponse) => void): grpc.ClientUnaryCall; queryInstances(request: orchestrator_service_pb.QueryInstancesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryInstancesResponse) => void): grpc.ClientUnaryCall; + listInstanceIds(request: orchestrator_service_pb.ListInstanceIdsRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.ListInstanceIdsResponse) => void): grpc.ClientUnaryCall; + listInstanceIds(request: orchestrator_service_pb.ListInstanceIdsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.ListInstanceIdsResponse) => void): grpc.ClientUnaryCall; + listInstanceIds(request: orchestrator_service_pb.ListInstanceIdsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.ListInstanceIdsResponse) => void): grpc.ClientUnaryCall; purgeInstances(request: orchestrator_service_pb.PurgeInstancesRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.PurgeInstancesResponse) => void): grpc.ClientUnaryCall; purgeInstances(request: orchestrator_service_pb.PurgeInstancesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.PurgeInstancesResponse) => void): grpc.ClientUnaryCall; purgeInstances(request: orchestrator_service_pb.PurgeInstancesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.PurgeInstancesResponse) => void): grpc.ClientUnaryCall; @@ -251,12 +391,41 @@ export interface ITaskHubSidecarServiceClient { completeOrchestratorTask(request: orchestrator_service_pb.OrchestratorResponse, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; completeOrchestratorTask(request: orchestrator_service_pb.OrchestratorResponse, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; completeOrchestratorTask(request: orchestrator_service_pb.OrchestratorResponse, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; + completeEntityTask(request: orchestrator_service_pb.EntityBatchResult, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; + completeEntityTask(request: orchestrator_service_pb.EntityBatchResult, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; + completeEntityTask(request: orchestrator_service_pb.EntityBatchResult, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; + streamInstanceHistory(request: orchestrator_service_pb.StreamInstanceHistoryRequest, options?: Partial): grpc.ClientReadableStream; + streamInstanceHistory(request: orchestrator_service_pb.StreamInstanceHistoryRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; createTaskHub(request: orchestrator_service_pb.CreateTaskHubRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CreateTaskHubResponse) => void): grpc.ClientUnaryCall; createTaskHub(request: orchestrator_service_pb.CreateTaskHubRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CreateTaskHubResponse) => void): grpc.ClientUnaryCall; createTaskHub(request: orchestrator_service_pb.CreateTaskHubRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CreateTaskHubResponse) => void): grpc.ClientUnaryCall; deleteTaskHub(request: orchestrator_service_pb.DeleteTaskHubRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.DeleteTaskHubResponse) => void): grpc.ClientUnaryCall; deleteTaskHub(request: orchestrator_service_pb.DeleteTaskHubRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.DeleteTaskHubResponse) => void): grpc.ClientUnaryCall; deleteTaskHub(request: orchestrator_service_pb.DeleteTaskHubRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.DeleteTaskHubResponse) => void): grpc.ClientUnaryCall; + signalEntity(request: orchestrator_service_pb.SignalEntityRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SignalEntityResponse) => void): grpc.ClientUnaryCall; + signalEntity(request: orchestrator_service_pb.SignalEntityRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SignalEntityResponse) => void): grpc.ClientUnaryCall; + signalEntity(request: orchestrator_service_pb.SignalEntityRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SignalEntityResponse) => void): grpc.ClientUnaryCall; + getEntity(request: orchestrator_service_pb.GetEntityRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetEntityResponse) => void): grpc.ClientUnaryCall; + getEntity(request: orchestrator_service_pb.GetEntityRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetEntityResponse) => void): grpc.ClientUnaryCall; + getEntity(request: orchestrator_service_pb.GetEntityRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetEntityResponse) => void): grpc.ClientUnaryCall; + queryEntities(request: orchestrator_service_pb.QueryEntitiesRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryEntitiesResponse) => void): grpc.ClientUnaryCall; + queryEntities(request: orchestrator_service_pb.QueryEntitiesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryEntitiesResponse) => void): grpc.ClientUnaryCall; + queryEntities(request: orchestrator_service_pb.QueryEntitiesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryEntitiesResponse) => void): grpc.ClientUnaryCall; + cleanEntityStorage(request: orchestrator_service_pb.CleanEntityStorageRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CleanEntityStorageResponse) => void): grpc.ClientUnaryCall; + cleanEntityStorage(request: orchestrator_service_pb.CleanEntityStorageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CleanEntityStorageResponse) => void): grpc.ClientUnaryCall; + cleanEntityStorage(request: orchestrator_service_pb.CleanEntityStorageRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CleanEntityStorageResponse) => void): grpc.ClientUnaryCall; + abandonTaskActivityWorkItem(request: orchestrator_service_pb.AbandonActivityTaskRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonActivityTaskResponse) => void): grpc.ClientUnaryCall; + abandonTaskActivityWorkItem(request: orchestrator_service_pb.AbandonActivityTaskRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonActivityTaskResponse) => void): grpc.ClientUnaryCall; + abandonTaskActivityWorkItem(request: orchestrator_service_pb.AbandonActivityTaskRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonActivityTaskResponse) => void): grpc.ClientUnaryCall; + abandonTaskOrchestratorWorkItem(request: orchestrator_service_pb.AbandonOrchestrationTaskRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonOrchestrationTaskResponse) => void): grpc.ClientUnaryCall; + abandonTaskOrchestratorWorkItem(request: orchestrator_service_pb.AbandonOrchestrationTaskRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonOrchestrationTaskResponse) => void): grpc.ClientUnaryCall; + abandonTaskOrchestratorWorkItem(request: orchestrator_service_pb.AbandonOrchestrationTaskRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonOrchestrationTaskResponse) => void): grpc.ClientUnaryCall; + abandonTaskEntityWorkItem(request: orchestrator_service_pb.AbandonEntityTaskRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonEntityTaskResponse) => void): grpc.ClientUnaryCall; + abandonTaskEntityWorkItem(request: orchestrator_service_pb.AbandonEntityTaskRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonEntityTaskResponse) => void): grpc.ClientUnaryCall; + abandonTaskEntityWorkItem(request: orchestrator_service_pb.AbandonEntityTaskRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonEntityTaskResponse) => void): grpc.ClientUnaryCall; + skipGracefulOrchestrationTerminations(request: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse) => void): grpc.ClientUnaryCall; + skipGracefulOrchestrationTerminations(request: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse) => void): grpc.ClientUnaryCall; + skipGracefulOrchestrationTerminations(request: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse) => void): grpc.ClientUnaryCall; } export class TaskHubSidecarServiceClient extends grpc.Client implements ITaskHubSidecarServiceClient { @@ -273,6 +442,9 @@ export class TaskHubSidecarServiceClient extends grpc.Client implements ITaskHub public rewindInstance(request: orchestrator_service_pb.RewindInstanceRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RewindInstanceResponse) => void): grpc.ClientUnaryCall; public rewindInstance(request: orchestrator_service_pb.RewindInstanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RewindInstanceResponse) => void): grpc.ClientUnaryCall; public rewindInstance(request: orchestrator_service_pb.RewindInstanceRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RewindInstanceResponse) => void): grpc.ClientUnaryCall; + public restartInstance(request: orchestrator_service_pb.RestartInstanceRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RestartInstanceResponse) => void): grpc.ClientUnaryCall; + public restartInstance(request: orchestrator_service_pb.RestartInstanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RestartInstanceResponse) => void): grpc.ClientUnaryCall; + public restartInstance(request: orchestrator_service_pb.RestartInstanceRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.RestartInstanceResponse) => void): grpc.ClientUnaryCall; public waitForInstanceStart(request: orchestrator_service_pb.GetInstanceRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetInstanceResponse) => void): grpc.ClientUnaryCall; public waitForInstanceStart(request: orchestrator_service_pb.GetInstanceRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetInstanceResponse) => void): grpc.ClientUnaryCall; public waitForInstanceStart(request: orchestrator_service_pb.GetInstanceRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetInstanceResponse) => void): grpc.ClientUnaryCall; @@ -294,6 +466,9 @@ export class TaskHubSidecarServiceClient extends grpc.Client implements ITaskHub public queryInstances(request: orchestrator_service_pb.QueryInstancesRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryInstancesResponse) => void): grpc.ClientUnaryCall; public queryInstances(request: orchestrator_service_pb.QueryInstancesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryInstancesResponse) => void): grpc.ClientUnaryCall; public queryInstances(request: orchestrator_service_pb.QueryInstancesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryInstancesResponse) => void): grpc.ClientUnaryCall; + public listInstanceIds(request: orchestrator_service_pb.ListInstanceIdsRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.ListInstanceIdsResponse) => void): grpc.ClientUnaryCall; + public listInstanceIds(request: orchestrator_service_pb.ListInstanceIdsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.ListInstanceIdsResponse) => void): grpc.ClientUnaryCall; + public listInstanceIds(request: orchestrator_service_pb.ListInstanceIdsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.ListInstanceIdsResponse) => void): grpc.ClientUnaryCall; public purgeInstances(request: orchestrator_service_pb.PurgeInstancesRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.PurgeInstancesResponse) => void): grpc.ClientUnaryCall; public purgeInstances(request: orchestrator_service_pb.PurgeInstancesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.PurgeInstancesResponse) => void): grpc.ClientUnaryCall; public purgeInstances(request: orchestrator_service_pb.PurgeInstancesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.PurgeInstancesResponse) => void): grpc.ClientUnaryCall; @@ -305,10 +480,39 @@ export class TaskHubSidecarServiceClient extends grpc.Client implements ITaskHub public completeOrchestratorTask(request: orchestrator_service_pb.OrchestratorResponse, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; public completeOrchestratorTask(request: orchestrator_service_pb.OrchestratorResponse, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; public completeOrchestratorTask(request: orchestrator_service_pb.OrchestratorResponse, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; + public completeEntityTask(request: orchestrator_service_pb.EntityBatchResult, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; + public completeEntityTask(request: orchestrator_service_pb.EntityBatchResult, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; + public completeEntityTask(request: orchestrator_service_pb.EntityBatchResult, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CompleteTaskResponse) => void): grpc.ClientUnaryCall; + public streamInstanceHistory(request: orchestrator_service_pb.StreamInstanceHistoryRequest, options?: Partial): grpc.ClientReadableStream; + public streamInstanceHistory(request: orchestrator_service_pb.StreamInstanceHistoryRequest, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; public createTaskHub(request: orchestrator_service_pb.CreateTaskHubRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CreateTaskHubResponse) => void): grpc.ClientUnaryCall; public createTaskHub(request: orchestrator_service_pb.CreateTaskHubRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CreateTaskHubResponse) => void): grpc.ClientUnaryCall; public createTaskHub(request: orchestrator_service_pb.CreateTaskHubRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CreateTaskHubResponse) => void): grpc.ClientUnaryCall; public deleteTaskHub(request: orchestrator_service_pb.DeleteTaskHubRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.DeleteTaskHubResponse) => void): grpc.ClientUnaryCall; public deleteTaskHub(request: orchestrator_service_pb.DeleteTaskHubRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.DeleteTaskHubResponse) => void): grpc.ClientUnaryCall; public deleteTaskHub(request: orchestrator_service_pb.DeleteTaskHubRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.DeleteTaskHubResponse) => void): grpc.ClientUnaryCall; + public signalEntity(request: orchestrator_service_pb.SignalEntityRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SignalEntityResponse) => void): grpc.ClientUnaryCall; + public signalEntity(request: orchestrator_service_pb.SignalEntityRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SignalEntityResponse) => void): grpc.ClientUnaryCall; + public signalEntity(request: orchestrator_service_pb.SignalEntityRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SignalEntityResponse) => void): grpc.ClientUnaryCall; + public getEntity(request: orchestrator_service_pb.GetEntityRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetEntityResponse) => void): grpc.ClientUnaryCall; + public getEntity(request: orchestrator_service_pb.GetEntityRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetEntityResponse) => void): grpc.ClientUnaryCall; + public getEntity(request: orchestrator_service_pb.GetEntityRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.GetEntityResponse) => void): grpc.ClientUnaryCall; + public queryEntities(request: orchestrator_service_pb.QueryEntitiesRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryEntitiesResponse) => void): grpc.ClientUnaryCall; + public queryEntities(request: orchestrator_service_pb.QueryEntitiesRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryEntitiesResponse) => void): grpc.ClientUnaryCall; + public queryEntities(request: orchestrator_service_pb.QueryEntitiesRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.QueryEntitiesResponse) => void): grpc.ClientUnaryCall; + public cleanEntityStorage(request: orchestrator_service_pb.CleanEntityStorageRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CleanEntityStorageResponse) => void): grpc.ClientUnaryCall; + public cleanEntityStorage(request: orchestrator_service_pb.CleanEntityStorageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CleanEntityStorageResponse) => void): grpc.ClientUnaryCall; + public cleanEntityStorage(request: orchestrator_service_pb.CleanEntityStorageRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.CleanEntityStorageResponse) => void): grpc.ClientUnaryCall; + public abandonTaskActivityWorkItem(request: orchestrator_service_pb.AbandonActivityTaskRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonActivityTaskResponse) => void): grpc.ClientUnaryCall; + public abandonTaskActivityWorkItem(request: orchestrator_service_pb.AbandonActivityTaskRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonActivityTaskResponse) => void): grpc.ClientUnaryCall; + public abandonTaskActivityWorkItem(request: orchestrator_service_pb.AbandonActivityTaskRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonActivityTaskResponse) => void): grpc.ClientUnaryCall; + public abandonTaskOrchestratorWorkItem(request: orchestrator_service_pb.AbandonOrchestrationTaskRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonOrchestrationTaskResponse) => void): grpc.ClientUnaryCall; + public abandonTaskOrchestratorWorkItem(request: orchestrator_service_pb.AbandonOrchestrationTaskRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonOrchestrationTaskResponse) => void): grpc.ClientUnaryCall; + public abandonTaskOrchestratorWorkItem(request: orchestrator_service_pb.AbandonOrchestrationTaskRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonOrchestrationTaskResponse) => void): grpc.ClientUnaryCall; + public abandonTaskEntityWorkItem(request: orchestrator_service_pb.AbandonEntityTaskRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonEntityTaskResponse) => void): grpc.ClientUnaryCall; + public abandonTaskEntityWorkItem(request: orchestrator_service_pb.AbandonEntityTaskRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonEntityTaskResponse) => void): grpc.ClientUnaryCall; + public abandonTaskEntityWorkItem(request: orchestrator_service_pb.AbandonEntityTaskRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.AbandonEntityTaskResponse) => void): grpc.ClientUnaryCall; + public skipGracefulOrchestrationTerminations(request: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse) => void): grpc.ClientUnaryCall; + public skipGracefulOrchestrationTerminations(request: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse) => void): grpc.ClientUnaryCall; + public skipGracefulOrchestrationTerminations(request: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse) => void): grpc.ClientUnaryCall; } diff --git a/src/proto/orchestrator_service_grpc_pb.js b/packages/durabletask-js/src/proto/orchestrator_service_grpc_pb.js similarity index 55% rename from src/proto/orchestrator_service_grpc_pb.js rename to packages/durabletask-js/src/proto/orchestrator_service_grpc_pb.js index da1204d..3dc1bef 100644 --- a/src/proto/orchestrator_service_grpc_pb.js +++ b/packages/durabletask-js/src/proto/orchestrator_service_grpc_pb.js @@ -8,8 +8,76 @@ var grpc = require('@grpc/grpc-js'); var orchestrator_service_pb = require('./orchestrator_service_pb.js'); var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); +var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js'); var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js'); +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); + +function serialize_AbandonActivityTaskRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.AbandonActivityTaskRequest)) { + throw new Error('Expected argument of type AbandonActivityTaskRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_AbandonActivityTaskRequest(buffer_arg) { + return orchestrator_service_pb.AbandonActivityTaskRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_AbandonActivityTaskResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.AbandonActivityTaskResponse)) { + throw new Error('Expected argument of type AbandonActivityTaskResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_AbandonActivityTaskResponse(buffer_arg) { + return orchestrator_service_pb.AbandonActivityTaskResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_AbandonEntityTaskRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.AbandonEntityTaskRequest)) { + throw new Error('Expected argument of type AbandonEntityTaskRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_AbandonEntityTaskRequest(buffer_arg) { + return orchestrator_service_pb.AbandonEntityTaskRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_AbandonEntityTaskResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.AbandonEntityTaskResponse)) { + throw new Error('Expected argument of type AbandonEntityTaskResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_AbandonEntityTaskResponse(buffer_arg) { + return orchestrator_service_pb.AbandonEntityTaskResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_AbandonOrchestrationTaskRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.AbandonOrchestrationTaskRequest)) { + throw new Error('Expected argument of type AbandonOrchestrationTaskRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_AbandonOrchestrationTaskRequest(buffer_arg) { + return orchestrator_service_pb.AbandonOrchestrationTaskRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_AbandonOrchestrationTaskResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.AbandonOrchestrationTaskResponse)) { + throw new Error('Expected argument of type AbandonOrchestrationTaskResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_AbandonOrchestrationTaskResponse(buffer_arg) { + return orchestrator_service_pb.AbandonOrchestrationTaskResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} function serialize_ActivityResponse(arg) { if (!(arg instanceof orchestrator_service_pb.ActivityResponse)) { @@ -22,6 +90,28 @@ function deserialize_ActivityResponse(buffer_arg) { return orchestrator_service_pb.ActivityResponse.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_CleanEntityStorageRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.CleanEntityStorageRequest)) { + throw new Error('Expected argument of type CleanEntityStorageRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_CleanEntityStorageRequest(buffer_arg) { + return orchestrator_service_pb.CleanEntityStorageRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_CleanEntityStorageResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.CleanEntityStorageResponse)) { + throw new Error('Expected argument of type CleanEntityStorageResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_CleanEntityStorageResponse(buffer_arg) { + return orchestrator_service_pb.CleanEntityStorageResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_CompleteTaskResponse(arg) { if (!(arg instanceof orchestrator_service_pb.CompleteTaskResponse)) { throw new Error('Expected argument of type CompleteTaskResponse'); @@ -99,6 +189,39 @@ function deserialize_DeleteTaskHubResponse(buffer_arg) { return orchestrator_service_pb.DeleteTaskHubResponse.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_EntityBatchResult(arg) { + if (!(arg instanceof orchestrator_service_pb.EntityBatchResult)) { + throw new Error('Expected argument of type EntityBatchResult'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_EntityBatchResult(buffer_arg) { + return orchestrator_service_pb.EntityBatchResult.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_GetEntityRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.GetEntityRequest)) { + throw new Error('Expected argument of type GetEntityRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_GetEntityRequest(buffer_arg) { + return orchestrator_service_pb.GetEntityRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_GetEntityResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.GetEntityResponse)) { + throw new Error('Expected argument of type GetEntityResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_GetEntityResponse(buffer_arg) { + return orchestrator_service_pb.GetEntityResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_GetInstanceRequest(arg) { if (!(arg instanceof orchestrator_service_pb.GetInstanceRequest)) { throw new Error('Expected argument of type GetInstanceRequest'); @@ -132,6 +255,39 @@ function deserialize_GetWorkItemsRequest(buffer_arg) { return orchestrator_service_pb.GetWorkItemsRequest.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_HistoryChunk(arg) { + if (!(arg instanceof orchestrator_service_pb.HistoryChunk)) { + throw new Error('Expected argument of type HistoryChunk'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_HistoryChunk(buffer_arg) { + return orchestrator_service_pb.HistoryChunk.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_ListInstanceIdsRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.ListInstanceIdsRequest)) { + throw new Error('Expected argument of type ListInstanceIdsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_ListInstanceIdsRequest(buffer_arg) { + return orchestrator_service_pb.ListInstanceIdsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_ListInstanceIdsResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.ListInstanceIdsResponse)) { + throw new Error('Expected argument of type ListInstanceIdsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_ListInstanceIdsResponse(buffer_arg) { + return orchestrator_service_pb.ListInstanceIdsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_OrchestratorResponse(arg) { if (!(arg instanceof orchestrator_service_pb.OrchestratorResponse)) { throw new Error('Expected argument of type OrchestratorResponse'); @@ -165,6 +321,28 @@ function deserialize_PurgeInstancesResponse(buffer_arg) { return orchestrator_service_pb.PurgeInstancesResponse.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_QueryEntitiesRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.QueryEntitiesRequest)) { + throw new Error('Expected argument of type QueryEntitiesRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_QueryEntitiesRequest(buffer_arg) { + return orchestrator_service_pb.QueryEntitiesRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_QueryEntitiesResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.QueryEntitiesResponse)) { + throw new Error('Expected argument of type QueryEntitiesResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_QueryEntitiesResponse(buffer_arg) { + return orchestrator_service_pb.QueryEntitiesResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_QueryInstancesRequest(arg) { if (!(arg instanceof orchestrator_service_pb.QueryInstancesRequest)) { throw new Error('Expected argument of type QueryInstancesRequest'); @@ -209,6 +387,28 @@ function deserialize_RaiseEventResponse(buffer_arg) { return orchestrator_service_pb.RaiseEventResponse.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_RestartInstanceRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.RestartInstanceRequest)) { + throw new Error('Expected argument of type RestartInstanceRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_RestartInstanceRequest(buffer_arg) { + return orchestrator_service_pb.RestartInstanceRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_RestartInstanceResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.RestartInstanceResponse)) { + throw new Error('Expected argument of type RestartInstanceResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_RestartInstanceResponse(buffer_arg) { + return orchestrator_service_pb.RestartInstanceResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_ResumeRequest(arg) { if (!(arg instanceof orchestrator_service_pb.ResumeRequest)) { throw new Error('Expected argument of type ResumeRequest'); @@ -253,6 +453,61 @@ function deserialize_RewindInstanceResponse(buffer_arg) { return orchestrator_service_pb.RewindInstanceResponse.deserializeBinary(new Uint8Array(buffer_arg)); } +function serialize_SignalEntityRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.SignalEntityRequest)) { + throw new Error('Expected argument of type SignalEntityRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_SignalEntityRequest(buffer_arg) { + return orchestrator_service_pb.SignalEntityRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_SignalEntityResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.SignalEntityResponse)) { + throw new Error('Expected argument of type SignalEntityResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_SignalEntityResponse(buffer_arg) { + return orchestrator_service_pb.SignalEntityResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_SkipGracefulOrchestrationTerminationsRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest)) { + throw new Error('Expected argument of type SkipGracefulOrchestrationTerminationsRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_SkipGracefulOrchestrationTerminationsRequest(buffer_arg) { + return orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_SkipGracefulOrchestrationTerminationsResponse(arg) { + if (!(arg instanceof orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse)) { + throw new Error('Expected argument of type SkipGracefulOrchestrationTerminationsResponse'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_SkipGracefulOrchestrationTerminationsResponse(buffer_arg) { + return orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse.deserializeBinary(new Uint8Array(buffer_arg)); +} + +function serialize_StreamInstanceHistoryRequest(arg) { + if (!(arg instanceof orchestrator_service_pb.StreamInstanceHistoryRequest)) { + throw new Error('Expected argument of type StreamInstanceHistoryRequest'); + } + return Buffer.from(arg.serializeBinary()); +} + +function deserialize_StreamInstanceHistoryRequest(buffer_arg) { + return orchestrator_service_pb.StreamInstanceHistoryRequest.deserializeBinary(new Uint8Array(buffer_arg)); +} + function serialize_SuspendRequest(arg) { if (!(arg instanceof orchestrator_service_pb.SuspendRequest)) { throw new Error('Expected argument of type SuspendRequest'); @@ -369,6 +624,18 @@ rewindInstance: { responseSerialize: serialize_RewindInstanceResponse, responseDeserialize: deserialize_RewindInstanceResponse, }, + // Restarts an orchestration instance. +restartInstance: { + path: '/TaskHubSidecarService/RestartInstance', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.RestartInstanceRequest, + responseType: orchestrator_service_pb.RestartInstanceResponse, + requestSerialize: serialize_RestartInstanceRequest, + requestDeserialize: deserialize_RestartInstanceRequest, + responseSerialize: serialize_RestartInstanceResponse, + responseDeserialize: deserialize_RestartInstanceResponse, + }, // Waits for an orchestration instance to reach a running or completion state. waitForInstanceStart: { path: '/TaskHubSidecarService/WaitForInstanceStart', @@ -454,6 +721,17 @@ queryInstances: { responseSerialize: serialize_QueryInstancesResponse, responseDeserialize: deserialize_QueryInstancesResponse, }, + listInstanceIds: { + path: '/TaskHubSidecarService/ListInstanceIds', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.ListInstanceIdsRequest, + responseType: orchestrator_service_pb.ListInstanceIdsResponse, + requestSerialize: serialize_ListInstanceIdsRequest, + requestDeserialize: deserialize_ListInstanceIdsRequest, + responseSerialize: serialize_ListInstanceIdsResponse, + responseDeserialize: deserialize_ListInstanceIdsResponse, + }, purgeInstances: { path: '/TaskHubSidecarService/PurgeInstances', requestStream: false, @@ -498,6 +776,29 @@ queryInstances: { responseSerialize: serialize_CompleteTaskResponse, responseDeserialize: deserialize_CompleteTaskResponse, }, + completeEntityTask: { + path: '/TaskHubSidecarService/CompleteEntityTask', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.EntityBatchResult, + responseType: orchestrator_service_pb.CompleteTaskResponse, + requestSerialize: serialize_EntityBatchResult, + requestDeserialize: deserialize_EntityBatchResult, + responseSerialize: serialize_CompleteTaskResponse, + responseDeserialize: deserialize_CompleteTaskResponse, + }, + // Gets the history of an orchestration instance as a stream of events. +streamInstanceHistory: { + path: '/TaskHubSidecarService/StreamInstanceHistory', + requestStream: false, + responseStream: true, + requestType: orchestrator_service_pb.StreamInstanceHistoryRequest, + responseType: orchestrator_service_pb.HistoryChunk, + requestSerialize: serialize_StreamInstanceHistoryRequest, + requestDeserialize: deserialize_StreamInstanceHistoryRequest, + responseSerialize: serialize_HistoryChunk, + responseDeserialize: deserialize_HistoryChunk, + }, // Deletes and Creates the necessary resources for the orchestration service and the instance store createTaskHub: { path: '/TaskHubSidecarService/CreateTaskHub', @@ -522,6 +823,103 @@ deleteTaskHub: { responseSerialize: serialize_DeleteTaskHubResponse, responseDeserialize: deserialize_DeleteTaskHubResponse, }, + // sends a signal to an entity +signalEntity: { + path: '/TaskHubSidecarService/SignalEntity', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.SignalEntityRequest, + responseType: orchestrator_service_pb.SignalEntityResponse, + requestSerialize: serialize_SignalEntityRequest, + requestDeserialize: deserialize_SignalEntityRequest, + responseSerialize: serialize_SignalEntityResponse, + responseDeserialize: deserialize_SignalEntityResponse, + }, + // get information about a specific entity +getEntity: { + path: '/TaskHubSidecarService/GetEntity', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.GetEntityRequest, + responseType: orchestrator_service_pb.GetEntityResponse, + requestSerialize: serialize_GetEntityRequest, + requestDeserialize: deserialize_GetEntityRequest, + responseSerialize: serialize_GetEntityResponse, + responseDeserialize: deserialize_GetEntityResponse, + }, + // query entities +queryEntities: { + path: '/TaskHubSidecarService/QueryEntities', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.QueryEntitiesRequest, + responseType: orchestrator_service_pb.QueryEntitiesResponse, + requestSerialize: serialize_QueryEntitiesRequest, + requestDeserialize: deserialize_QueryEntitiesRequest, + responseSerialize: serialize_QueryEntitiesResponse, + responseDeserialize: deserialize_QueryEntitiesResponse, + }, + // clean entity storage +cleanEntityStorage: { + path: '/TaskHubSidecarService/CleanEntityStorage', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.CleanEntityStorageRequest, + responseType: orchestrator_service_pb.CleanEntityStorageResponse, + requestSerialize: serialize_CleanEntityStorageRequest, + requestDeserialize: deserialize_CleanEntityStorageRequest, + responseSerialize: serialize_CleanEntityStorageResponse, + responseDeserialize: deserialize_CleanEntityStorageResponse, + }, + // Abandons a single work item +abandonTaskActivityWorkItem: { + path: '/TaskHubSidecarService/AbandonTaskActivityWorkItem', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.AbandonActivityTaskRequest, + responseType: orchestrator_service_pb.AbandonActivityTaskResponse, + requestSerialize: serialize_AbandonActivityTaskRequest, + requestDeserialize: deserialize_AbandonActivityTaskRequest, + responseSerialize: serialize_AbandonActivityTaskResponse, + responseDeserialize: deserialize_AbandonActivityTaskResponse, + }, + // Abandon an orchestration work item +abandonTaskOrchestratorWorkItem: { + path: '/TaskHubSidecarService/AbandonTaskOrchestratorWorkItem', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.AbandonOrchestrationTaskRequest, + responseType: orchestrator_service_pb.AbandonOrchestrationTaskResponse, + requestSerialize: serialize_AbandonOrchestrationTaskRequest, + requestDeserialize: deserialize_AbandonOrchestrationTaskRequest, + responseSerialize: serialize_AbandonOrchestrationTaskResponse, + responseDeserialize: deserialize_AbandonOrchestrationTaskResponse, + }, + // Abandon an entity work item +abandonTaskEntityWorkItem: { + path: '/TaskHubSidecarService/AbandonTaskEntityWorkItem', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.AbandonEntityTaskRequest, + responseType: orchestrator_service_pb.AbandonEntityTaskResponse, + requestSerialize: serialize_AbandonEntityTaskRequest, + requestDeserialize: deserialize_AbandonEntityTaskRequest, + responseSerialize: serialize_AbandonEntityTaskResponse, + responseDeserialize: deserialize_AbandonEntityTaskResponse, + }, + // "Skip" graceful termination of orchestrations by immediately changing their status in storage to "terminated". +// Note that a maximum of 500 orchestrations can be terminated at a time using this method. +skipGracefulOrchestrationTerminations: { + path: '/TaskHubSidecarService/SkipGracefulOrchestrationTerminations', + requestStream: false, + responseStream: false, + requestType: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsRequest, + responseType: orchestrator_service_pb.SkipGracefulOrchestrationTerminationsResponse, + requestSerialize: serialize_SkipGracefulOrchestrationTerminationsRequest, + requestDeserialize: deserialize_SkipGracefulOrchestrationTerminationsRequest, + responseSerialize: serialize_SkipGracefulOrchestrationTerminationsResponse, + responseDeserialize: deserialize_SkipGracefulOrchestrationTerminationsResponse, + }, }; -exports.TaskHubSidecarServiceClient = grpc.makeGenericClientConstructor(TaskHubSidecarServiceService); +exports.TaskHubSidecarServiceClient = grpc.makeGenericClientConstructor(TaskHubSidecarServiceService, 'TaskHubSidecarService'); diff --git a/packages/durabletask-js/src/proto/orchestrator_service_pb.d.ts b/packages/durabletask-js/src/proto/orchestrator_service_pb.d.ts new file mode 100644 index 0000000..f521d96 --- /dev/null +++ b/packages/durabletask-js/src/proto/orchestrator_service_pb.d.ts @@ -0,0 +1,3868 @@ +// package: +// file: orchestrator_service.proto + +/* tslint:disable */ +/* eslint-disable */ + +import * as jspb from "google-protobuf"; +import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; +import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb"; +import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb"; +import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; +import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb"; + +export class OrchestrationInstance extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): OrchestrationInstance; + + hasExecutionid(): boolean; + clearExecutionid(): void; + getExecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; + setExecutionid(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationInstance; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestrationInstance.AsObject; + static toObject(includeInstance: boolean, msg: OrchestrationInstance): OrchestrationInstance.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestrationInstance, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestrationInstance; + static deserializeBinaryFromReader(message: OrchestrationInstance, reader: jspb.BinaryReader): OrchestrationInstance; +} + +export namespace OrchestrationInstance { + export type AsObject = { + instanceid: string, + executionid?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class ActivityRequest extends jspb.Message { + getName(): string; + setName(value: string): ActivityRequest; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): ActivityRequest; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): ActivityRequest; + + hasOrchestrationinstance(): boolean; + clearOrchestrationinstance(): void; + getOrchestrationinstance(): OrchestrationInstance | undefined; + setOrchestrationinstance(value?: OrchestrationInstance): ActivityRequest; + getTaskid(): number; + setTaskid(value: number): ActivityRequest; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): ActivityRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ActivityRequest.AsObject; + static toObject(includeInstance: boolean, msg: ActivityRequest): ActivityRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ActivityRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ActivityRequest; + static deserializeBinaryFromReader(message: ActivityRequest, reader: jspb.BinaryReader): ActivityRequest; +} + +export namespace ActivityRequest { + export type AsObject = { + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + orchestrationinstance?: OrchestrationInstance.AsObject, + taskid: number, + parenttracecontext?: TraceContext.AsObject, + } +} + +export class ActivityResponse extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): ActivityResponse; + getTaskid(): number; + setTaskid(value: number): ActivityResponse; + + hasResult(): boolean; + clearResult(): void; + getResult(): google_protobuf_wrappers_pb.StringValue | undefined; + setResult(value?: google_protobuf_wrappers_pb.StringValue): ActivityResponse; + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): ActivityResponse; + getCompletiontoken(): string; + setCompletiontoken(value: string): ActivityResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ActivityResponse.AsObject; + static toObject(includeInstance: boolean, msg: ActivityResponse): ActivityResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ActivityResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ActivityResponse; + static deserializeBinaryFromReader(message: ActivityResponse, reader: jspb.BinaryReader): ActivityResponse; +} + +export namespace ActivityResponse { + export type AsObject = { + instanceid: string, + taskid: number, + result?: google_protobuf_wrappers_pb.StringValue.AsObject, + failuredetails?: TaskFailureDetails.AsObject, + completiontoken: string, + } +} + +export class TaskFailureDetails extends jspb.Message { + getErrortype(): string; + setErrortype(value: string): TaskFailureDetails; + getErrormessage(): string; + setErrormessage(value: string): TaskFailureDetails; + + hasStacktrace(): boolean; + clearStacktrace(): void; + getStacktrace(): google_protobuf_wrappers_pb.StringValue | undefined; + setStacktrace(value?: google_protobuf_wrappers_pb.StringValue): TaskFailureDetails; + + hasInnerfailure(): boolean; + clearInnerfailure(): void; + getInnerfailure(): TaskFailureDetails | undefined; + setInnerfailure(value?: TaskFailureDetails): TaskFailureDetails; + getIsnonretriable(): boolean; + setIsnonretriable(value: boolean): TaskFailureDetails; + + getPropertiesMap(): jspb.Map; + clearPropertiesMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TaskFailureDetails.AsObject; + static toObject(includeInstance: boolean, msg: TaskFailureDetails): TaskFailureDetails.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TaskFailureDetails, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TaskFailureDetails; + static deserializeBinaryFromReader(message: TaskFailureDetails, reader: jspb.BinaryReader): TaskFailureDetails; +} + +export namespace TaskFailureDetails { + export type AsObject = { + errortype: string, + errormessage: string, + stacktrace?: google_protobuf_wrappers_pb.StringValue.AsObject, + innerfailure?: TaskFailureDetails.AsObject, + isnonretriable: boolean, + + propertiesMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class ParentInstanceInfo extends jspb.Message { + getTaskscheduledid(): number; + setTaskscheduledid(value: number): ParentInstanceInfo; + + hasName(): boolean; + clearName(): void; + getName(): google_protobuf_wrappers_pb.StringValue | undefined; + setName(value?: google_protobuf_wrappers_pb.StringValue): ParentInstanceInfo; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): ParentInstanceInfo; + + hasOrchestrationinstance(): boolean; + clearOrchestrationinstance(): void; + getOrchestrationinstance(): OrchestrationInstance | undefined; + setOrchestrationinstance(value?: OrchestrationInstance): ParentInstanceInfo; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ParentInstanceInfo.AsObject; + static toObject(includeInstance: boolean, msg: ParentInstanceInfo): ParentInstanceInfo.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ParentInstanceInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ParentInstanceInfo; + static deserializeBinaryFromReader(message: ParentInstanceInfo, reader: jspb.BinaryReader): ParentInstanceInfo; +} + +export namespace ParentInstanceInfo { + export type AsObject = { + taskscheduledid: number, + name?: google_protobuf_wrappers_pb.StringValue.AsObject, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + orchestrationinstance?: OrchestrationInstance.AsObject, + } +} + +export class TraceContext extends jspb.Message { + getTraceparent(): string; + setTraceparent(value: string): TraceContext; + getSpanid(): string; + setSpanid(value: string): TraceContext; + + hasTracestate(): boolean; + clearTracestate(): void; + getTracestate(): google_protobuf_wrappers_pb.StringValue | undefined; + setTracestate(value?: google_protobuf_wrappers_pb.StringValue): TraceContext; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TraceContext.AsObject; + static toObject(includeInstance: boolean, msg: TraceContext): TraceContext.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TraceContext, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TraceContext; + static deserializeBinaryFromReader(message: TraceContext, reader: jspb.BinaryReader): TraceContext; +} + +export namespace TraceContext { + export type AsObject = { + traceparent: string, + spanid: string, + tracestate?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class ExecutionStartedEvent extends jspb.Message { + getName(): string; + setName(value: string): ExecutionStartedEvent; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): ExecutionStartedEvent; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionStartedEvent; + + hasOrchestrationinstance(): boolean; + clearOrchestrationinstance(): void; + getOrchestrationinstance(): OrchestrationInstance | undefined; + setOrchestrationinstance(value?: OrchestrationInstance): ExecutionStartedEvent; + + hasParentinstance(): boolean; + clearParentinstance(): void; + getParentinstance(): ParentInstanceInfo | undefined; + setParentinstance(value?: ParentInstanceInfo): ExecutionStartedEvent; + + hasScheduledstarttimestamp(): boolean; + clearScheduledstarttimestamp(): void; + getScheduledstarttimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setScheduledstarttimestamp(value?: google_protobuf_timestamp_pb.Timestamp): ExecutionStartedEvent; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): ExecutionStartedEvent; + + hasOrchestrationspanid(): boolean; + clearOrchestrationspanid(): void; + getOrchestrationspanid(): google_protobuf_wrappers_pb.StringValue | undefined; + setOrchestrationspanid(value?: google_protobuf_wrappers_pb.StringValue): ExecutionStartedEvent; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExecutionStartedEvent.AsObject; + static toObject(includeInstance: boolean, msg: ExecutionStartedEvent): ExecutionStartedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExecutionStartedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExecutionStartedEvent; + static deserializeBinaryFromReader(message: ExecutionStartedEvent, reader: jspb.BinaryReader): ExecutionStartedEvent; +} + +export namespace ExecutionStartedEvent { + export type AsObject = { + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + orchestrationinstance?: OrchestrationInstance.AsObject, + parentinstance?: ParentInstanceInfo.AsObject, + scheduledstarttimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + parenttracecontext?: TraceContext.AsObject, + orchestrationspanid?: google_protobuf_wrappers_pb.StringValue.AsObject, + + tagsMap: Array<[string, string]>, + } +} + +export class ExecutionCompletedEvent extends jspb.Message { + getOrchestrationstatus(): OrchestrationStatus; + setOrchestrationstatus(value: OrchestrationStatus): ExecutionCompletedEvent; + + hasResult(): boolean; + clearResult(): void; + getResult(): google_protobuf_wrappers_pb.StringValue | undefined; + setResult(value?: google_protobuf_wrappers_pb.StringValue): ExecutionCompletedEvent; + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): ExecutionCompletedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExecutionCompletedEvent.AsObject; + static toObject(includeInstance: boolean, msg: ExecutionCompletedEvent): ExecutionCompletedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExecutionCompletedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExecutionCompletedEvent; + static deserializeBinaryFromReader(message: ExecutionCompletedEvent, reader: jspb.BinaryReader): ExecutionCompletedEvent; +} + +export namespace ExecutionCompletedEvent { + export type AsObject = { + orchestrationstatus: OrchestrationStatus, + result?: google_protobuf_wrappers_pb.StringValue.AsObject, + failuredetails?: TaskFailureDetails.AsObject, + } +} + +export class ExecutionTerminatedEvent extends jspb.Message { + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionTerminatedEvent; + getRecurse(): boolean; + setRecurse(value: boolean): ExecutionTerminatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExecutionTerminatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: ExecutionTerminatedEvent): ExecutionTerminatedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExecutionTerminatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExecutionTerminatedEvent; + static deserializeBinaryFromReader(message: ExecutionTerminatedEvent, reader: jspb.BinaryReader): ExecutionTerminatedEvent; +} + +export namespace ExecutionTerminatedEvent { + export type AsObject = { + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + recurse: boolean, + } +} + +export class TaskScheduledEvent extends jspb.Message { + getName(): string; + setName(value: string): TaskScheduledEvent; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): TaskScheduledEvent; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): TaskScheduledEvent; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): TaskScheduledEvent; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TaskScheduledEvent.AsObject; + static toObject(includeInstance: boolean, msg: TaskScheduledEvent): TaskScheduledEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TaskScheduledEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TaskScheduledEvent; + static deserializeBinaryFromReader(message: TaskScheduledEvent, reader: jspb.BinaryReader): TaskScheduledEvent; +} + +export namespace TaskScheduledEvent { + export type AsObject = { + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + parenttracecontext?: TraceContext.AsObject, + + tagsMap: Array<[string, string]>, + } +} + +export class TaskCompletedEvent extends jspb.Message { + getTaskscheduledid(): number; + setTaskscheduledid(value: number): TaskCompletedEvent; + + hasResult(): boolean; + clearResult(): void; + getResult(): google_protobuf_wrappers_pb.StringValue | undefined; + setResult(value?: google_protobuf_wrappers_pb.StringValue): TaskCompletedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TaskCompletedEvent.AsObject; + static toObject(includeInstance: boolean, msg: TaskCompletedEvent): TaskCompletedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TaskCompletedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TaskCompletedEvent; + static deserializeBinaryFromReader(message: TaskCompletedEvent, reader: jspb.BinaryReader): TaskCompletedEvent; +} + +export namespace TaskCompletedEvent { + export type AsObject = { + taskscheduledid: number, + result?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class TaskFailedEvent extends jspb.Message { + getTaskscheduledid(): number; + setTaskscheduledid(value: number): TaskFailedEvent; + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): TaskFailedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TaskFailedEvent.AsObject; + static toObject(includeInstance: boolean, msg: TaskFailedEvent): TaskFailedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TaskFailedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TaskFailedEvent; + static deserializeBinaryFromReader(message: TaskFailedEvent, reader: jspb.BinaryReader): TaskFailedEvent; +} + +export namespace TaskFailedEvent { + export type AsObject = { + taskscheduledid: number, + failuredetails?: TaskFailureDetails.AsObject, + } +} + +export class SubOrchestrationInstanceCreatedEvent extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): SubOrchestrationInstanceCreatedEvent; + getName(): string; + setName(value: string): SubOrchestrationInstanceCreatedEvent; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): SubOrchestrationInstanceCreatedEvent; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): SubOrchestrationInstanceCreatedEvent; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): SubOrchestrationInstanceCreatedEvent; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SubOrchestrationInstanceCreatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: SubOrchestrationInstanceCreatedEvent): SubOrchestrationInstanceCreatedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SubOrchestrationInstanceCreatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SubOrchestrationInstanceCreatedEvent; + static deserializeBinaryFromReader(message: SubOrchestrationInstanceCreatedEvent, reader: jspb.BinaryReader): SubOrchestrationInstanceCreatedEvent; +} + +export namespace SubOrchestrationInstanceCreatedEvent { + export type AsObject = { + instanceid: string, + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + parenttracecontext?: TraceContext.AsObject, + + tagsMap: Array<[string, string]>, + } +} + +export class SubOrchestrationInstanceCompletedEvent extends jspb.Message { + getTaskscheduledid(): number; + setTaskscheduledid(value: number): SubOrchestrationInstanceCompletedEvent; + + hasResult(): boolean; + clearResult(): void; + getResult(): google_protobuf_wrappers_pb.StringValue | undefined; + setResult(value?: google_protobuf_wrappers_pb.StringValue): SubOrchestrationInstanceCompletedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SubOrchestrationInstanceCompletedEvent.AsObject; + static toObject(includeInstance: boolean, msg: SubOrchestrationInstanceCompletedEvent): SubOrchestrationInstanceCompletedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SubOrchestrationInstanceCompletedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SubOrchestrationInstanceCompletedEvent; + static deserializeBinaryFromReader(message: SubOrchestrationInstanceCompletedEvent, reader: jspb.BinaryReader): SubOrchestrationInstanceCompletedEvent; +} + +export namespace SubOrchestrationInstanceCompletedEvent { + export type AsObject = { + taskscheduledid: number, + result?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class SubOrchestrationInstanceFailedEvent extends jspb.Message { + getTaskscheduledid(): number; + setTaskscheduledid(value: number): SubOrchestrationInstanceFailedEvent; + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): SubOrchestrationInstanceFailedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SubOrchestrationInstanceFailedEvent.AsObject; + static toObject(includeInstance: boolean, msg: SubOrchestrationInstanceFailedEvent): SubOrchestrationInstanceFailedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SubOrchestrationInstanceFailedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SubOrchestrationInstanceFailedEvent; + static deserializeBinaryFromReader(message: SubOrchestrationInstanceFailedEvent, reader: jspb.BinaryReader): SubOrchestrationInstanceFailedEvent; +} + +export namespace SubOrchestrationInstanceFailedEvent { + export type AsObject = { + taskscheduledid: number, + failuredetails?: TaskFailureDetails.AsObject, + } +} + +export class TimerCreatedEvent extends jspb.Message { + + hasFireat(): boolean; + clearFireat(): void; + getFireat(): google_protobuf_timestamp_pb.Timestamp | undefined; + setFireat(value?: google_protobuf_timestamp_pb.Timestamp): TimerCreatedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TimerCreatedEvent.AsObject; + static toObject(includeInstance: boolean, msg: TimerCreatedEvent): TimerCreatedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TimerCreatedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TimerCreatedEvent; + static deserializeBinaryFromReader(message: TimerCreatedEvent, reader: jspb.BinaryReader): TimerCreatedEvent; +} + +export namespace TimerCreatedEvent { + export type AsObject = { + fireat?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class TimerFiredEvent extends jspb.Message { + + hasFireat(): boolean; + clearFireat(): void; + getFireat(): google_protobuf_timestamp_pb.Timestamp | undefined; + setFireat(value?: google_protobuf_timestamp_pb.Timestamp): TimerFiredEvent; + getTimerid(): number; + setTimerid(value: number): TimerFiredEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TimerFiredEvent.AsObject; + static toObject(includeInstance: boolean, msg: TimerFiredEvent): TimerFiredEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TimerFiredEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TimerFiredEvent; + static deserializeBinaryFromReader(message: TimerFiredEvent, reader: jspb.BinaryReader): TimerFiredEvent; +} + +export namespace TimerFiredEvent { + export type AsObject = { + fireat?: google_protobuf_timestamp_pb.Timestamp.AsObject, + timerid: number, + } +} + +export class OrchestratorStartedEvent extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestratorStartedEvent.AsObject; + static toObject(includeInstance: boolean, msg: OrchestratorStartedEvent): OrchestratorStartedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestratorStartedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestratorStartedEvent; + static deserializeBinaryFromReader(message: OrchestratorStartedEvent, reader: jspb.BinaryReader): OrchestratorStartedEvent; +} + +export namespace OrchestratorStartedEvent { + export type AsObject = { + } +} + +export class OrchestratorCompletedEvent extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestratorCompletedEvent.AsObject; + static toObject(includeInstance: boolean, msg: OrchestratorCompletedEvent): OrchestratorCompletedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestratorCompletedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestratorCompletedEvent; + static deserializeBinaryFromReader(message: OrchestratorCompletedEvent, reader: jspb.BinaryReader): OrchestratorCompletedEvent; +} + +export namespace OrchestratorCompletedEvent { + export type AsObject = { + } +} + +export class EventSentEvent extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): EventSentEvent; + getName(): string; + setName(value: string): EventSentEvent; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): EventSentEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EventSentEvent.AsObject; + static toObject(includeInstance: boolean, msg: EventSentEvent): EventSentEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EventSentEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EventSentEvent; + static deserializeBinaryFromReader(message: EventSentEvent, reader: jspb.BinaryReader): EventSentEvent; +} + +export namespace EventSentEvent { + export type AsObject = { + instanceid: string, + name: string, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class EventRaisedEvent extends jspb.Message { + getName(): string; + setName(value: string): EventRaisedEvent; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): EventRaisedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EventRaisedEvent.AsObject; + static toObject(includeInstance: boolean, msg: EventRaisedEvent): EventRaisedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EventRaisedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EventRaisedEvent; + static deserializeBinaryFromReader(message: EventRaisedEvent, reader: jspb.BinaryReader): EventRaisedEvent; +} + +export namespace EventRaisedEvent { + export type AsObject = { + name: string, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class GenericEvent extends jspb.Message { + + hasData(): boolean; + clearData(): void; + getData(): google_protobuf_wrappers_pb.StringValue | undefined; + setData(value?: google_protobuf_wrappers_pb.StringValue): GenericEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GenericEvent.AsObject; + static toObject(includeInstance: boolean, msg: GenericEvent): GenericEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GenericEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GenericEvent; + static deserializeBinaryFromReader(message: GenericEvent, reader: jspb.BinaryReader): GenericEvent; +} + +export namespace GenericEvent { + export type AsObject = { + data?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class HistoryStateEvent extends jspb.Message { + + hasOrchestrationstate(): boolean; + clearOrchestrationstate(): void; + getOrchestrationstate(): OrchestrationState | undefined; + setOrchestrationstate(value?: OrchestrationState): HistoryStateEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HistoryStateEvent.AsObject; + static toObject(includeInstance: boolean, msg: HistoryStateEvent): HistoryStateEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HistoryStateEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HistoryStateEvent; + static deserializeBinaryFromReader(message: HistoryStateEvent, reader: jspb.BinaryReader): HistoryStateEvent; +} + +export namespace HistoryStateEvent { + export type AsObject = { + orchestrationstate?: OrchestrationState.AsObject, + } +} + +export class ContinueAsNewEvent extends jspb.Message { + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): ContinueAsNewEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ContinueAsNewEvent.AsObject; + static toObject(includeInstance: boolean, msg: ContinueAsNewEvent): ContinueAsNewEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ContinueAsNewEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ContinueAsNewEvent; + static deserializeBinaryFromReader(message: ContinueAsNewEvent, reader: jspb.BinaryReader): ContinueAsNewEvent; +} + +export namespace ContinueAsNewEvent { + export type AsObject = { + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class ExecutionSuspendedEvent extends jspb.Message { + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionSuspendedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExecutionSuspendedEvent.AsObject; + static toObject(includeInstance: boolean, msg: ExecutionSuspendedEvent): ExecutionSuspendedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExecutionSuspendedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExecutionSuspendedEvent; + static deserializeBinaryFromReader(message: ExecutionSuspendedEvent, reader: jspb.BinaryReader): ExecutionSuspendedEvent; +} + +export namespace ExecutionSuspendedEvent { + export type AsObject = { + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class ExecutionResumedEvent extends jspb.Message { + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionResumedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExecutionResumedEvent.AsObject; + static toObject(includeInstance: boolean, msg: ExecutionResumedEvent): ExecutionResumedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExecutionResumedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExecutionResumedEvent; + static deserializeBinaryFromReader(message: ExecutionResumedEvent, reader: jspb.BinaryReader): ExecutionResumedEvent; +} + +export namespace ExecutionResumedEvent { + export type AsObject = { + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class EntityOperationSignaledEvent extends jspb.Message { + getRequestid(): string; + setRequestid(value: string): EntityOperationSignaledEvent; + getOperation(): string; + setOperation(value: string): EntityOperationSignaledEvent; + + hasScheduledtime(): boolean; + clearScheduledtime(): void; + getScheduledtime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setScheduledtime(value?: google_protobuf_timestamp_pb.Timestamp): EntityOperationSignaledEvent; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): EntityOperationSignaledEvent; + + hasTargetinstanceid(): boolean; + clearTargetinstanceid(): void; + getTargetinstanceid(): google_protobuf_wrappers_pb.StringValue | undefined; + setTargetinstanceid(value?: google_protobuf_wrappers_pb.StringValue): EntityOperationSignaledEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityOperationSignaledEvent.AsObject; + static toObject(includeInstance: boolean, msg: EntityOperationSignaledEvent): EntityOperationSignaledEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityOperationSignaledEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityOperationSignaledEvent; + static deserializeBinaryFromReader(message: EntityOperationSignaledEvent, reader: jspb.BinaryReader): EntityOperationSignaledEvent; +} + +export namespace EntityOperationSignaledEvent { + export type AsObject = { + requestid: string, + operation: string, + scheduledtime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + targetinstanceid?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class EntityOperationCalledEvent extends jspb.Message { + getRequestid(): string; + setRequestid(value: string): EntityOperationCalledEvent; + getOperation(): string; + setOperation(value: string): EntityOperationCalledEvent; + + hasScheduledtime(): boolean; + clearScheduledtime(): void; + getScheduledtime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setScheduledtime(value?: google_protobuf_timestamp_pb.Timestamp): EntityOperationCalledEvent; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): EntityOperationCalledEvent; + + hasParentinstanceid(): boolean; + clearParentinstanceid(): void; + getParentinstanceid(): google_protobuf_wrappers_pb.StringValue | undefined; + setParentinstanceid(value?: google_protobuf_wrappers_pb.StringValue): EntityOperationCalledEvent; + + hasParentexecutionid(): boolean; + clearParentexecutionid(): void; + getParentexecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; + setParentexecutionid(value?: google_protobuf_wrappers_pb.StringValue): EntityOperationCalledEvent; + + hasTargetinstanceid(): boolean; + clearTargetinstanceid(): void; + getTargetinstanceid(): google_protobuf_wrappers_pb.StringValue | undefined; + setTargetinstanceid(value?: google_protobuf_wrappers_pb.StringValue): EntityOperationCalledEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityOperationCalledEvent.AsObject; + static toObject(includeInstance: boolean, msg: EntityOperationCalledEvent): EntityOperationCalledEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityOperationCalledEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityOperationCalledEvent; + static deserializeBinaryFromReader(message: EntityOperationCalledEvent, reader: jspb.BinaryReader): EntityOperationCalledEvent; +} + +export namespace EntityOperationCalledEvent { + export type AsObject = { + requestid: string, + operation: string, + scheduledtime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + parentinstanceid?: google_protobuf_wrappers_pb.StringValue.AsObject, + parentexecutionid?: google_protobuf_wrappers_pb.StringValue.AsObject, + targetinstanceid?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class EntityLockRequestedEvent extends jspb.Message { + getCriticalsectionid(): string; + setCriticalsectionid(value: string): EntityLockRequestedEvent; + clearLocksetList(): void; + getLocksetList(): Array; + setLocksetList(value: Array): EntityLockRequestedEvent; + addLockset(value: string, index?: number): string; + getPosition(): number; + setPosition(value: number): EntityLockRequestedEvent; + + hasParentinstanceid(): boolean; + clearParentinstanceid(): void; + getParentinstanceid(): google_protobuf_wrappers_pb.StringValue | undefined; + setParentinstanceid(value?: google_protobuf_wrappers_pb.StringValue): EntityLockRequestedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityLockRequestedEvent.AsObject; + static toObject(includeInstance: boolean, msg: EntityLockRequestedEvent): EntityLockRequestedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityLockRequestedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityLockRequestedEvent; + static deserializeBinaryFromReader(message: EntityLockRequestedEvent, reader: jspb.BinaryReader): EntityLockRequestedEvent; +} + +export namespace EntityLockRequestedEvent { + export type AsObject = { + criticalsectionid: string, + locksetList: Array, + position: number, + parentinstanceid?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class EntityOperationCompletedEvent extends jspb.Message { + getRequestid(): string; + setRequestid(value: string): EntityOperationCompletedEvent; + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): google_protobuf_wrappers_pb.StringValue | undefined; + setOutput(value?: google_protobuf_wrappers_pb.StringValue): EntityOperationCompletedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityOperationCompletedEvent.AsObject; + static toObject(includeInstance: boolean, msg: EntityOperationCompletedEvent): EntityOperationCompletedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityOperationCompletedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityOperationCompletedEvent; + static deserializeBinaryFromReader(message: EntityOperationCompletedEvent, reader: jspb.BinaryReader): EntityOperationCompletedEvent; +} + +export namespace EntityOperationCompletedEvent { + export type AsObject = { + requestid: string, + output?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class EntityOperationFailedEvent extends jspb.Message { + getRequestid(): string; + setRequestid(value: string): EntityOperationFailedEvent; + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): EntityOperationFailedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityOperationFailedEvent.AsObject; + static toObject(includeInstance: boolean, msg: EntityOperationFailedEvent): EntityOperationFailedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityOperationFailedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityOperationFailedEvent; + static deserializeBinaryFromReader(message: EntityOperationFailedEvent, reader: jspb.BinaryReader): EntityOperationFailedEvent; +} + +export namespace EntityOperationFailedEvent { + export type AsObject = { + requestid: string, + failuredetails?: TaskFailureDetails.AsObject, + } +} + +export class EntityUnlockSentEvent extends jspb.Message { + getCriticalsectionid(): string; + setCriticalsectionid(value: string): EntityUnlockSentEvent; + + hasParentinstanceid(): boolean; + clearParentinstanceid(): void; + getParentinstanceid(): google_protobuf_wrappers_pb.StringValue | undefined; + setParentinstanceid(value?: google_protobuf_wrappers_pb.StringValue): EntityUnlockSentEvent; + + hasTargetinstanceid(): boolean; + clearTargetinstanceid(): void; + getTargetinstanceid(): google_protobuf_wrappers_pb.StringValue | undefined; + setTargetinstanceid(value?: google_protobuf_wrappers_pb.StringValue): EntityUnlockSentEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityUnlockSentEvent.AsObject; + static toObject(includeInstance: boolean, msg: EntityUnlockSentEvent): EntityUnlockSentEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityUnlockSentEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityUnlockSentEvent; + static deserializeBinaryFromReader(message: EntityUnlockSentEvent, reader: jspb.BinaryReader): EntityUnlockSentEvent; +} + +export namespace EntityUnlockSentEvent { + export type AsObject = { + criticalsectionid: string, + parentinstanceid?: google_protobuf_wrappers_pb.StringValue.AsObject, + targetinstanceid?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class EntityLockGrantedEvent extends jspb.Message { + getCriticalsectionid(): string; + setCriticalsectionid(value: string): EntityLockGrantedEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityLockGrantedEvent.AsObject; + static toObject(includeInstance: boolean, msg: EntityLockGrantedEvent): EntityLockGrantedEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityLockGrantedEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityLockGrantedEvent; + static deserializeBinaryFromReader(message: EntityLockGrantedEvent, reader: jspb.BinaryReader): EntityLockGrantedEvent; +} + +export namespace EntityLockGrantedEvent { + export type AsObject = { + criticalsectionid: string, + } +} + +export class ExecutionRewoundEvent extends jspb.Message { + + hasReason(): boolean; + clearReason(): void; + getReason(): google_protobuf_wrappers_pb.StringValue | undefined; + setReason(value?: google_protobuf_wrappers_pb.StringValue): ExecutionRewoundEvent; + + hasParentexecutionid(): boolean; + clearParentexecutionid(): void; + getParentexecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; + setParentexecutionid(value?: google_protobuf_wrappers_pb.StringValue): ExecutionRewoundEvent; + + hasInstanceid(): boolean; + clearInstanceid(): void; + getInstanceid(): google_protobuf_wrappers_pb.StringValue | undefined; + setInstanceid(value?: google_protobuf_wrappers_pb.StringValue): ExecutionRewoundEvent; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): ExecutionRewoundEvent; + + hasName(): boolean; + clearName(): void; + getName(): google_protobuf_wrappers_pb.StringValue | undefined; + setName(value?: google_protobuf_wrappers_pb.StringValue): ExecutionRewoundEvent; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): ExecutionRewoundEvent; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionRewoundEvent; + + hasParentinstance(): boolean; + clearParentinstance(): void; + getParentinstance(): ParentInstanceInfo | undefined; + setParentinstance(value?: ParentInstanceInfo): ExecutionRewoundEvent; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ExecutionRewoundEvent.AsObject; + static toObject(includeInstance: boolean, msg: ExecutionRewoundEvent): ExecutionRewoundEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ExecutionRewoundEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ExecutionRewoundEvent; + static deserializeBinaryFromReader(message: ExecutionRewoundEvent, reader: jspb.BinaryReader): ExecutionRewoundEvent; +} + +export namespace ExecutionRewoundEvent { + export type AsObject = { + reason?: google_protobuf_wrappers_pb.StringValue.AsObject, + parentexecutionid?: google_protobuf_wrappers_pb.StringValue.AsObject, + instanceid?: google_protobuf_wrappers_pb.StringValue.AsObject, + parenttracecontext?: TraceContext.AsObject, + name?: google_protobuf_wrappers_pb.StringValue.AsObject, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + parentinstance?: ParentInstanceInfo.AsObject, + + tagsMap: Array<[string, string]>, + } +} + +export class HistoryEvent extends jspb.Message { + getEventid(): number; + setEventid(value: number): HistoryEvent; + + hasTimestamp(): boolean; + clearTimestamp(): void; + getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): HistoryEvent; + + hasExecutionstarted(): boolean; + clearExecutionstarted(): void; + getExecutionstarted(): ExecutionStartedEvent | undefined; + setExecutionstarted(value?: ExecutionStartedEvent): HistoryEvent; + + hasExecutioncompleted(): boolean; + clearExecutioncompleted(): void; + getExecutioncompleted(): ExecutionCompletedEvent | undefined; + setExecutioncompleted(value?: ExecutionCompletedEvent): HistoryEvent; + + hasExecutionterminated(): boolean; + clearExecutionterminated(): void; + getExecutionterminated(): ExecutionTerminatedEvent | undefined; + setExecutionterminated(value?: ExecutionTerminatedEvent): HistoryEvent; + + hasTaskscheduled(): boolean; + clearTaskscheduled(): void; + getTaskscheduled(): TaskScheduledEvent | undefined; + setTaskscheduled(value?: TaskScheduledEvent): HistoryEvent; + + hasTaskcompleted(): boolean; + clearTaskcompleted(): void; + getTaskcompleted(): TaskCompletedEvent | undefined; + setTaskcompleted(value?: TaskCompletedEvent): HistoryEvent; + + hasTaskfailed(): boolean; + clearTaskfailed(): void; + getTaskfailed(): TaskFailedEvent | undefined; + setTaskfailed(value?: TaskFailedEvent): HistoryEvent; + + hasSuborchestrationinstancecreated(): boolean; + clearSuborchestrationinstancecreated(): void; + getSuborchestrationinstancecreated(): SubOrchestrationInstanceCreatedEvent | undefined; + setSuborchestrationinstancecreated(value?: SubOrchestrationInstanceCreatedEvent): HistoryEvent; + + hasSuborchestrationinstancecompleted(): boolean; + clearSuborchestrationinstancecompleted(): void; + getSuborchestrationinstancecompleted(): SubOrchestrationInstanceCompletedEvent | undefined; + setSuborchestrationinstancecompleted(value?: SubOrchestrationInstanceCompletedEvent): HistoryEvent; + + hasSuborchestrationinstancefailed(): boolean; + clearSuborchestrationinstancefailed(): void; + getSuborchestrationinstancefailed(): SubOrchestrationInstanceFailedEvent | undefined; + setSuborchestrationinstancefailed(value?: SubOrchestrationInstanceFailedEvent): HistoryEvent; + + hasTimercreated(): boolean; + clearTimercreated(): void; + getTimercreated(): TimerCreatedEvent | undefined; + setTimercreated(value?: TimerCreatedEvent): HistoryEvent; + + hasTimerfired(): boolean; + clearTimerfired(): void; + getTimerfired(): TimerFiredEvent | undefined; + setTimerfired(value?: TimerFiredEvent): HistoryEvent; + + hasOrchestratorstarted(): boolean; + clearOrchestratorstarted(): void; + getOrchestratorstarted(): OrchestratorStartedEvent | undefined; + setOrchestratorstarted(value?: OrchestratorStartedEvent): HistoryEvent; + + hasOrchestratorcompleted(): boolean; + clearOrchestratorcompleted(): void; + getOrchestratorcompleted(): OrchestratorCompletedEvent | undefined; + setOrchestratorcompleted(value?: OrchestratorCompletedEvent): HistoryEvent; + + hasEventsent(): boolean; + clearEventsent(): void; + getEventsent(): EventSentEvent | undefined; + setEventsent(value?: EventSentEvent): HistoryEvent; + + hasEventraised(): boolean; + clearEventraised(): void; + getEventraised(): EventRaisedEvent | undefined; + setEventraised(value?: EventRaisedEvent): HistoryEvent; + + hasGenericevent(): boolean; + clearGenericevent(): void; + getGenericevent(): GenericEvent | undefined; + setGenericevent(value?: GenericEvent): HistoryEvent; + + hasHistorystate(): boolean; + clearHistorystate(): void; + getHistorystate(): HistoryStateEvent | undefined; + setHistorystate(value?: HistoryStateEvent): HistoryEvent; + + hasContinueasnew(): boolean; + clearContinueasnew(): void; + getContinueasnew(): ContinueAsNewEvent | undefined; + setContinueasnew(value?: ContinueAsNewEvent): HistoryEvent; + + hasExecutionsuspended(): boolean; + clearExecutionsuspended(): void; + getExecutionsuspended(): ExecutionSuspendedEvent | undefined; + setExecutionsuspended(value?: ExecutionSuspendedEvent): HistoryEvent; + + hasExecutionresumed(): boolean; + clearExecutionresumed(): void; + getExecutionresumed(): ExecutionResumedEvent | undefined; + setExecutionresumed(value?: ExecutionResumedEvent): HistoryEvent; + + hasEntityoperationsignaled(): boolean; + clearEntityoperationsignaled(): void; + getEntityoperationsignaled(): EntityOperationSignaledEvent | undefined; + setEntityoperationsignaled(value?: EntityOperationSignaledEvent): HistoryEvent; + + hasEntityoperationcalled(): boolean; + clearEntityoperationcalled(): void; + getEntityoperationcalled(): EntityOperationCalledEvent | undefined; + setEntityoperationcalled(value?: EntityOperationCalledEvent): HistoryEvent; + + hasEntityoperationcompleted(): boolean; + clearEntityoperationcompleted(): void; + getEntityoperationcompleted(): EntityOperationCompletedEvent | undefined; + setEntityoperationcompleted(value?: EntityOperationCompletedEvent): HistoryEvent; + + hasEntityoperationfailed(): boolean; + clearEntityoperationfailed(): void; + getEntityoperationfailed(): EntityOperationFailedEvent | undefined; + setEntityoperationfailed(value?: EntityOperationFailedEvent): HistoryEvent; + + hasEntitylockrequested(): boolean; + clearEntitylockrequested(): void; + getEntitylockrequested(): EntityLockRequestedEvent | undefined; + setEntitylockrequested(value?: EntityLockRequestedEvent): HistoryEvent; + + hasEntitylockgranted(): boolean; + clearEntitylockgranted(): void; + getEntitylockgranted(): EntityLockGrantedEvent | undefined; + setEntitylockgranted(value?: EntityLockGrantedEvent): HistoryEvent; + + hasEntityunlocksent(): boolean; + clearEntityunlocksent(): void; + getEntityunlocksent(): EntityUnlockSentEvent | undefined; + setEntityunlocksent(value?: EntityUnlockSentEvent): HistoryEvent; + + hasExecutionrewound(): boolean; + clearExecutionrewound(): void; + getExecutionrewound(): ExecutionRewoundEvent | undefined; + setExecutionrewound(value?: ExecutionRewoundEvent): HistoryEvent; + + getEventtypeCase(): HistoryEvent.EventtypeCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HistoryEvent.AsObject; + static toObject(includeInstance: boolean, msg: HistoryEvent): HistoryEvent.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HistoryEvent, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HistoryEvent; + static deserializeBinaryFromReader(message: HistoryEvent, reader: jspb.BinaryReader): HistoryEvent; +} + +export namespace HistoryEvent { + export type AsObject = { + eventid: number, + timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + executionstarted?: ExecutionStartedEvent.AsObject, + executioncompleted?: ExecutionCompletedEvent.AsObject, + executionterminated?: ExecutionTerminatedEvent.AsObject, + taskscheduled?: TaskScheduledEvent.AsObject, + taskcompleted?: TaskCompletedEvent.AsObject, + taskfailed?: TaskFailedEvent.AsObject, + suborchestrationinstancecreated?: SubOrchestrationInstanceCreatedEvent.AsObject, + suborchestrationinstancecompleted?: SubOrchestrationInstanceCompletedEvent.AsObject, + suborchestrationinstancefailed?: SubOrchestrationInstanceFailedEvent.AsObject, + timercreated?: TimerCreatedEvent.AsObject, + timerfired?: TimerFiredEvent.AsObject, + orchestratorstarted?: OrchestratorStartedEvent.AsObject, + orchestratorcompleted?: OrchestratorCompletedEvent.AsObject, + eventsent?: EventSentEvent.AsObject, + eventraised?: EventRaisedEvent.AsObject, + genericevent?: GenericEvent.AsObject, + historystate?: HistoryStateEvent.AsObject, + continueasnew?: ContinueAsNewEvent.AsObject, + executionsuspended?: ExecutionSuspendedEvent.AsObject, + executionresumed?: ExecutionResumedEvent.AsObject, + entityoperationsignaled?: EntityOperationSignaledEvent.AsObject, + entityoperationcalled?: EntityOperationCalledEvent.AsObject, + entityoperationcompleted?: EntityOperationCompletedEvent.AsObject, + entityoperationfailed?: EntityOperationFailedEvent.AsObject, + entitylockrequested?: EntityLockRequestedEvent.AsObject, + entitylockgranted?: EntityLockGrantedEvent.AsObject, + entityunlocksent?: EntityUnlockSentEvent.AsObject, + executionrewound?: ExecutionRewoundEvent.AsObject, + } + + export enum EventtypeCase { + EVENTTYPE_NOT_SET = 0, + EXECUTIONSTARTED = 3, + EXECUTIONCOMPLETED = 4, + EXECUTIONTERMINATED = 5, + TASKSCHEDULED = 6, + TASKCOMPLETED = 7, + TASKFAILED = 8, + SUBORCHESTRATIONINSTANCECREATED = 9, + SUBORCHESTRATIONINSTANCECOMPLETED = 10, + SUBORCHESTRATIONINSTANCEFAILED = 11, + TIMERCREATED = 12, + TIMERFIRED = 13, + ORCHESTRATORSTARTED = 14, + ORCHESTRATORCOMPLETED = 15, + EVENTSENT = 16, + EVENTRAISED = 17, + GENERICEVENT = 18, + HISTORYSTATE = 19, + CONTINUEASNEW = 20, + EXECUTIONSUSPENDED = 21, + EXECUTIONRESUMED = 22, + ENTITYOPERATIONSIGNALED = 23, + ENTITYOPERATIONCALLED = 24, + ENTITYOPERATIONCOMPLETED = 25, + ENTITYOPERATIONFAILED = 26, + ENTITYLOCKREQUESTED = 27, + ENTITYLOCKGRANTED = 28, + ENTITYUNLOCKSENT = 29, + EXECUTIONREWOUND = 30, + } + +} + +export class ScheduleTaskAction extends jspb.Message { + getName(): string; + setName(value: string): ScheduleTaskAction; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): ScheduleTaskAction; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): ScheduleTaskAction; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): ScheduleTaskAction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ScheduleTaskAction.AsObject; + static toObject(includeInstance: boolean, msg: ScheduleTaskAction): ScheduleTaskAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ScheduleTaskAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ScheduleTaskAction; + static deserializeBinaryFromReader(message: ScheduleTaskAction, reader: jspb.BinaryReader): ScheduleTaskAction; +} + +export namespace ScheduleTaskAction { + export type AsObject = { + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + + tagsMap: Array<[string, string]>, + parenttracecontext?: TraceContext.AsObject, + } +} + +export class CreateSubOrchestrationAction extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): CreateSubOrchestrationAction; + getName(): string; + setName(value: string): CreateSubOrchestrationAction; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): CreateSubOrchestrationAction; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): CreateSubOrchestrationAction; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): CreateSubOrchestrationAction; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateSubOrchestrationAction.AsObject; + static toObject(includeInstance: boolean, msg: CreateSubOrchestrationAction): CreateSubOrchestrationAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateSubOrchestrationAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateSubOrchestrationAction; + static deserializeBinaryFromReader(message: CreateSubOrchestrationAction, reader: jspb.BinaryReader): CreateSubOrchestrationAction; +} + +export namespace CreateSubOrchestrationAction { + export type AsObject = { + instanceid: string, + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + parenttracecontext?: TraceContext.AsObject, + + tagsMap: Array<[string, string]>, + } +} + +export class CreateTimerAction extends jspb.Message { + + hasFireat(): boolean; + clearFireat(): void; + getFireat(): google_protobuf_timestamp_pb.Timestamp | undefined; + setFireat(value?: google_protobuf_timestamp_pb.Timestamp): CreateTimerAction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateTimerAction.AsObject; + static toObject(includeInstance: boolean, msg: CreateTimerAction): CreateTimerAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateTimerAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateTimerAction; + static deserializeBinaryFromReader(message: CreateTimerAction, reader: jspb.BinaryReader): CreateTimerAction; +} + +export namespace CreateTimerAction { + export type AsObject = { + fireat?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class SendEventAction extends jspb.Message { + + hasInstance(): boolean; + clearInstance(): void; + getInstance(): OrchestrationInstance | undefined; + setInstance(value?: OrchestrationInstance): SendEventAction; + getName(): string; + setName(value: string): SendEventAction; + + hasData(): boolean; + clearData(): void; + getData(): google_protobuf_wrappers_pb.StringValue | undefined; + setData(value?: google_protobuf_wrappers_pb.StringValue): SendEventAction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SendEventAction.AsObject; + static toObject(includeInstance: boolean, msg: SendEventAction): SendEventAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SendEventAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SendEventAction; + static deserializeBinaryFromReader(message: SendEventAction, reader: jspb.BinaryReader): SendEventAction; +} + +export namespace SendEventAction { + export type AsObject = { + instance?: OrchestrationInstance.AsObject, + name: string, + data?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class CompleteOrchestrationAction extends jspb.Message { + getOrchestrationstatus(): OrchestrationStatus; + setOrchestrationstatus(value: OrchestrationStatus): CompleteOrchestrationAction; + + hasResult(): boolean; + clearResult(): void; + getResult(): google_protobuf_wrappers_pb.StringValue | undefined; + setResult(value?: google_protobuf_wrappers_pb.StringValue): CompleteOrchestrationAction; + + hasDetails(): boolean; + clearDetails(): void; + getDetails(): google_protobuf_wrappers_pb.StringValue | undefined; + setDetails(value?: google_protobuf_wrappers_pb.StringValue): CompleteOrchestrationAction; + + hasNewversion(): boolean; + clearNewversion(): void; + getNewversion(): google_protobuf_wrappers_pb.StringValue | undefined; + setNewversion(value?: google_protobuf_wrappers_pb.StringValue): CompleteOrchestrationAction; + clearCarryovereventsList(): void; + getCarryovereventsList(): Array; + setCarryovereventsList(value: Array): CompleteOrchestrationAction; + addCarryoverevents(value?: HistoryEvent, index?: number): HistoryEvent; + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): CompleteOrchestrationAction; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompleteOrchestrationAction.AsObject; + static toObject(includeInstance: boolean, msg: CompleteOrchestrationAction): CompleteOrchestrationAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompleteOrchestrationAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompleteOrchestrationAction; + static deserializeBinaryFromReader(message: CompleteOrchestrationAction, reader: jspb.BinaryReader): CompleteOrchestrationAction; +} + +export namespace CompleteOrchestrationAction { + export type AsObject = { + orchestrationstatus: OrchestrationStatus, + result?: google_protobuf_wrappers_pb.StringValue.AsObject, + details?: google_protobuf_wrappers_pb.StringValue.AsObject, + newversion?: google_protobuf_wrappers_pb.StringValue.AsObject, + carryovereventsList: Array, + failuredetails?: TaskFailureDetails.AsObject, + + tagsMap: Array<[string, string]>, + } +} + +export class TerminateOrchestrationAction extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): TerminateOrchestrationAction; + + hasReason(): boolean; + clearReason(): void; + getReason(): google_protobuf_wrappers_pb.StringValue | undefined; + setReason(value?: google_protobuf_wrappers_pb.StringValue): TerminateOrchestrationAction; + getRecurse(): boolean; + setRecurse(value: boolean): TerminateOrchestrationAction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TerminateOrchestrationAction.AsObject; + static toObject(includeInstance: boolean, msg: TerminateOrchestrationAction): TerminateOrchestrationAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TerminateOrchestrationAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TerminateOrchestrationAction; + static deserializeBinaryFromReader(message: TerminateOrchestrationAction, reader: jspb.BinaryReader): TerminateOrchestrationAction; +} + +export namespace TerminateOrchestrationAction { + export type AsObject = { + instanceid: string, + reason?: google_protobuf_wrappers_pb.StringValue.AsObject, + recurse: boolean, + } +} + +export class SendEntityMessageAction extends jspb.Message { + + hasEntityoperationsignaled(): boolean; + clearEntityoperationsignaled(): void; + getEntityoperationsignaled(): EntityOperationSignaledEvent | undefined; + setEntityoperationsignaled(value?: EntityOperationSignaledEvent): SendEntityMessageAction; + + hasEntityoperationcalled(): boolean; + clearEntityoperationcalled(): void; + getEntityoperationcalled(): EntityOperationCalledEvent | undefined; + setEntityoperationcalled(value?: EntityOperationCalledEvent): SendEntityMessageAction; + + hasEntitylockrequested(): boolean; + clearEntitylockrequested(): void; + getEntitylockrequested(): EntityLockRequestedEvent | undefined; + setEntitylockrequested(value?: EntityLockRequestedEvent): SendEntityMessageAction; + + hasEntityunlocksent(): boolean; + clearEntityunlocksent(): void; + getEntityunlocksent(): EntityUnlockSentEvent | undefined; + setEntityunlocksent(value?: EntityUnlockSentEvent): SendEntityMessageAction; + + getEntitymessagetypeCase(): SendEntityMessageAction.EntitymessagetypeCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SendEntityMessageAction.AsObject; + static toObject(includeInstance: boolean, msg: SendEntityMessageAction): SendEntityMessageAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SendEntityMessageAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SendEntityMessageAction; + static deserializeBinaryFromReader(message: SendEntityMessageAction, reader: jspb.BinaryReader): SendEntityMessageAction; +} + +export namespace SendEntityMessageAction { + export type AsObject = { + entityoperationsignaled?: EntityOperationSignaledEvent.AsObject, + entityoperationcalled?: EntityOperationCalledEvent.AsObject, + entitylockrequested?: EntityLockRequestedEvent.AsObject, + entityunlocksent?: EntityUnlockSentEvent.AsObject, + } + + export enum EntitymessagetypeCase { + ENTITYMESSAGETYPE_NOT_SET = 0, + ENTITYOPERATIONSIGNALED = 1, + ENTITYOPERATIONCALLED = 2, + ENTITYLOCKREQUESTED = 3, + ENTITYUNLOCKSENT = 4, + } + +} + +export class OrchestratorAction extends jspb.Message { + getId(): number; + setId(value: number): OrchestratorAction; + + hasScheduletask(): boolean; + clearScheduletask(): void; + getScheduletask(): ScheduleTaskAction | undefined; + setScheduletask(value?: ScheduleTaskAction): OrchestratorAction; + + hasCreatesuborchestration(): boolean; + clearCreatesuborchestration(): void; + getCreatesuborchestration(): CreateSubOrchestrationAction | undefined; + setCreatesuborchestration(value?: CreateSubOrchestrationAction): OrchestratorAction; + + hasCreatetimer(): boolean; + clearCreatetimer(): void; + getCreatetimer(): CreateTimerAction | undefined; + setCreatetimer(value?: CreateTimerAction): OrchestratorAction; + + hasSendevent(): boolean; + clearSendevent(): void; + getSendevent(): SendEventAction | undefined; + setSendevent(value?: SendEventAction): OrchestratorAction; + + hasCompleteorchestration(): boolean; + clearCompleteorchestration(): void; + getCompleteorchestration(): CompleteOrchestrationAction | undefined; + setCompleteorchestration(value?: CompleteOrchestrationAction): OrchestratorAction; + + hasTerminateorchestration(): boolean; + clearTerminateorchestration(): void; + getTerminateorchestration(): TerminateOrchestrationAction | undefined; + setTerminateorchestration(value?: TerminateOrchestrationAction): OrchestratorAction; + + hasSendentitymessage(): boolean; + clearSendentitymessage(): void; + getSendentitymessage(): SendEntityMessageAction | undefined; + setSendentitymessage(value?: SendEntityMessageAction): OrchestratorAction; + + getOrchestratoractiontypeCase(): OrchestratorAction.OrchestratoractiontypeCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestratorAction.AsObject; + static toObject(includeInstance: boolean, msg: OrchestratorAction): OrchestratorAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestratorAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestratorAction; + static deserializeBinaryFromReader(message: OrchestratorAction, reader: jspb.BinaryReader): OrchestratorAction; +} + +export namespace OrchestratorAction { + export type AsObject = { + id: number, + scheduletask?: ScheduleTaskAction.AsObject, + createsuborchestration?: CreateSubOrchestrationAction.AsObject, + createtimer?: CreateTimerAction.AsObject, + sendevent?: SendEventAction.AsObject, + completeorchestration?: CompleteOrchestrationAction.AsObject, + terminateorchestration?: TerminateOrchestrationAction.AsObject, + sendentitymessage?: SendEntityMessageAction.AsObject, + } + + export enum OrchestratoractiontypeCase { + ORCHESTRATORACTIONTYPE_NOT_SET = 0, + SCHEDULETASK = 2, + CREATESUBORCHESTRATION = 3, + CREATETIMER = 4, + SENDEVENT = 5, + COMPLETEORCHESTRATION = 6, + TERMINATEORCHESTRATION = 7, + SENDENTITYMESSAGE = 8, + } + +} + +export class OrchestrationTraceContext extends jspb.Message { + + hasSpanid(): boolean; + clearSpanid(): void; + getSpanid(): google_protobuf_wrappers_pb.StringValue | undefined; + setSpanid(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationTraceContext; + + hasSpanstarttime(): boolean; + clearSpanstarttime(): void; + getSpanstarttime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setSpanstarttime(value?: google_protobuf_timestamp_pb.Timestamp): OrchestrationTraceContext; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestrationTraceContext.AsObject; + static toObject(includeInstance: boolean, msg: OrchestrationTraceContext): OrchestrationTraceContext.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestrationTraceContext, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestrationTraceContext; + static deserializeBinaryFromReader(message: OrchestrationTraceContext, reader: jspb.BinaryReader): OrchestrationTraceContext; +} + +export namespace OrchestrationTraceContext { + export type AsObject = { + spanid?: google_protobuf_wrappers_pb.StringValue.AsObject, + spanstarttime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class OrchestratorRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): OrchestratorRequest; + + hasExecutionid(): boolean; + clearExecutionid(): void; + getExecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; + setExecutionid(value?: google_protobuf_wrappers_pb.StringValue): OrchestratorRequest; + clearPasteventsList(): void; + getPasteventsList(): Array; + setPasteventsList(value: Array): OrchestratorRequest; + addPastevents(value?: HistoryEvent, index?: number): HistoryEvent; + clearNeweventsList(): void; + getNeweventsList(): Array; + setNeweventsList(value: Array): OrchestratorRequest; + addNewevents(value?: HistoryEvent, index?: number): HistoryEvent; + + hasEntityparameters(): boolean; + clearEntityparameters(): void; + getEntityparameters(): OrchestratorEntityParameters | undefined; + setEntityparameters(value?: OrchestratorEntityParameters): OrchestratorRequest; + getRequireshistorystreaming(): boolean; + setRequireshistorystreaming(value: boolean): OrchestratorRequest; + + getPropertiesMap(): jspb.Map; + clearPropertiesMap(): void; + + hasOrchestrationtracecontext(): boolean; + clearOrchestrationtracecontext(): void; + getOrchestrationtracecontext(): OrchestrationTraceContext | undefined; + setOrchestrationtracecontext(value?: OrchestrationTraceContext): OrchestratorRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestratorRequest.AsObject; + static toObject(includeInstance: boolean, msg: OrchestratorRequest): OrchestratorRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestratorRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestratorRequest; + static deserializeBinaryFromReader(message: OrchestratorRequest, reader: jspb.BinaryReader): OrchestratorRequest; +} + +export namespace OrchestratorRequest { + export type AsObject = { + instanceid: string, + executionid?: google_protobuf_wrappers_pb.StringValue.AsObject, + pasteventsList: Array, + neweventsList: Array, + entityparameters?: OrchestratorEntityParameters.AsObject, + requireshistorystreaming: boolean, + + propertiesMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + orchestrationtracecontext?: OrchestrationTraceContext.AsObject, + } +} + +export class OrchestratorResponse extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): OrchestratorResponse; + clearActionsList(): void; + getActionsList(): Array; + setActionsList(value: Array): OrchestratorResponse; + addActions(value?: OrchestratorAction, index?: number): OrchestratorAction; + + hasCustomstatus(): boolean; + clearCustomstatus(): void; + getCustomstatus(): google_protobuf_wrappers_pb.StringValue | undefined; + setCustomstatus(value?: google_protobuf_wrappers_pb.StringValue): OrchestratorResponse; + getCompletiontoken(): string; + setCompletiontoken(value: string): OrchestratorResponse; + + hasNumeventsprocessed(): boolean; + clearNumeventsprocessed(): void; + getNumeventsprocessed(): google_protobuf_wrappers_pb.Int32Value | undefined; + setNumeventsprocessed(value?: google_protobuf_wrappers_pb.Int32Value): OrchestratorResponse; + + hasOrchestrationtracecontext(): boolean; + clearOrchestrationtracecontext(): void; + getOrchestrationtracecontext(): OrchestrationTraceContext | undefined; + setOrchestrationtracecontext(value?: OrchestrationTraceContext): OrchestratorResponse; + getRequireshistory(): boolean; + setRequireshistory(value: boolean): OrchestratorResponse; + getIspartial(): boolean; + setIspartial(value: boolean): OrchestratorResponse; + + hasChunkindex(): boolean; + clearChunkindex(): void; + getChunkindex(): google_protobuf_wrappers_pb.Int32Value | undefined; + setChunkindex(value?: google_protobuf_wrappers_pb.Int32Value): OrchestratorResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestratorResponse.AsObject; + static toObject(includeInstance: boolean, msg: OrchestratorResponse): OrchestratorResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestratorResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestratorResponse; + static deserializeBinaryFromReader(message: OrchestratorResponse, reader: jspb.BinaryReader): OrchestratorResponse; +} + +export namespace OrchestratorResponse { + export type AsObject = { + instanceid: string, + actionsList: Array, + customstatus?: google_protobuf_wrappers_pb.StringValue.AsObject, + completiontoken: string, + numeventsprocessed?: google_protobuf_wrappers_pb.Int32Value.AsObject, + orchestrationtracecontext?: OrchestrationTraceContext.AsObject, + requireshistory: boolean, + ispartial: boolean, + chunkindex?: google_protobuf_wrappers_pb.Int32Value.AsObject, + } +} + +export class CreateInstanceRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): CreateInstanceRequest; + getName(): string; + setName(value: string): CreateInstanceRequest; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): CreateInstanceRequest; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): CreateInstanceRequest; + + hasScheduledstarttimestamp(): boolean; + clearScheduledstarttimestamp(): void; + getScheduledstarttimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setScheduledstarttimestamp(value?: google_protobuf_timestamp_pb.Timestamp): CreateInstanceRequest; + + hasOrchestrationidreusepolicy(): boolean; + clearOrchestrationidreusepolicy(): void; + getOrchestrationidreusepolicy(): OrchestrationIdReusePolicy | undefined; + setOrchestrationidreusepolicy(value?: OrchestrationIdReusePolicy): CreateInstanceRequest; + + hasExecutionid(): boolean; + clearExecutionid(): void; + getExecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; + setExecutionid(value?: google_protobuf_wrappers_pb.StringValue): CreateInstanceRequest; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): CreateInstanceRequest; + + hasRequesttime(): boolean; + clearRequesttime(): void; + getRequesttime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setRequesttime(value?: google_protobuf_timestamp_pb.Timestamp): CreateInstanceRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateInstanceRequest.AsObject; + static toObject(includeInstance: boolean, msg: CreateInstanceRequest): CreateInstanceRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateInstanceRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateInstanceRequest; + static deserializeBinaryFromReader(message: CreateInstanceRequest, reader: jspb.BinaryReader): CreateInstanceRequest; +} + +export namespace CreateInstanceRequest { + export type AsObject = { + instanceid: string, + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + scheduledstarttimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + orchestrationidreusepolicy?: OrchestrationIdReusePolicy.AsObject, + executionid?: google_protobuf_wrappers_pb.StringValue.AsObject, + + tagsMap: Array<[string, string]>, + parenttracecontext?: TraceContext.AsObject, + requesttime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class OrchestrationIdReusePolicy extends jspb.Message { + clearReplaceablestatusList(): void; + getReplaceablestatusList(): Array; + setReplaceablestatusList(value: Array): OrchestrationIdReusePolicy; + addReplaceablestatus(value: OrchestrationStatus, index?: number): OrchestrationStatus; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestrationIdReusePolicy.AsObject; + static toObject(includeInstance: boolean, msg: OrchestrationIdReusePolicy): OrchestrationIdReusePolicy.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestrationIdReusePolicy, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestrationIdReusePolicy; + static deserializeBinaryFromReader(message: OrchestrationIdReusePolicy, reader: jspb.BinaryReader): OrchestrationIdReusePolicy; +} + +export namespace OrchestrationIdReusePolicy { + export type AsObject = { + replaceablestatusList: Array, + } +} + +export class CreateInstanceResponse extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): CreateInstanceResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateInstanceResponse.AsObject; + static toObject(includeInstance: boolean, msg: CreateInstanceResponse): CreateInstanceResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateInstanceResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateInstanceResponse; + static deserializeBinaryFromReader(message: CreateInstanceResponse, reader: jspb.BinaryReader): CreateInstanceResponse; +} + +export namespace CreateInstanceResponse { + export type AsObject = { + instanceid: string, + } +} + +export class GetInstanceRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): GetInstanceRequest; + getGetinputsandoutputs(): boolean; + setGetinputsandoutputs(value: boolean): GetInstanceRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetInstanceRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetInstanceRequest): GetInstanceRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetInstanceRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetInstanceRequest; + static deserializeBinaryFromReader(message: GetInstanceRequest, reader: jspb.BinaryReader): GetInstanceRequest; +} + +export namespace GetInstanceRequest { + export type AsObject = { + instanceid: string, + getinputsandoutputs: boolean, + } +} + +export class GetInstanceResponse extends jspb.Message { + getExists(): boolean; + setExists(value: boolean): GetInstanceResponse; + + hasOrchestrationstate(): boolean; + clearOrchestrationstate(): void; + getOrchestrationstate(): OrchestrationState | undefined; + setOrchestrationstate(value?: OrchestrationState): GetInstanceResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetInstanceResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetInstanceResponse): GetInstanceResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetInstanceResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetInstanceResponse; + static deserializeBinaryFromReader(message: GetInstanceResponse, reader: jspb.BinaryReader): GetInstanceResponse; +} + +export namespace GetInstanceResponse { + export type AsObject = { + exists: boolean, + orchestrationstate?: OrchestrationState.AsObject, + } +} + +export class RewindInstanceRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): RewindInstanceRequest; + + hasReason(): boolean; + clearReason(): void; + getReason(): google_protobuf_wrappers_pb.StringValue | undefined; + setReason(value?: google_protobuf_wrappers_pb.StringValue): RewindInstanceRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RewindInstanceRequest.AsObject; + static toObject(includeInstance: boolean, msg: RewindInstanceRequest): RewindInstanceRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RewindInstanceRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RewindInstanceRequest; + static deserializeBinaryFromReader(message: RewindInstanceRequest, reader: jspb.BinaryReader): RewindInstanceRequest; +} + +export namespace RewindInstanceRequest { + export type AsObject = { + instanceid: string, + reason?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class RewindInstanceResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RewindInstanceResponse.AsObject; + static toObject(includeInstance: boolean, msg: RewindInstanceResponse): RewindInstanceResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RewindInstanceResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RewindInstanceResponse; + static deserializeBinaryFromReader(message: RewindInstanceResponse, reader: jspb.BinaryReader): RewindInstanceResponse; +} + +export namespace RewindInstanceResponse { + export type AsObject = { + } +} + +export class OrchestrationState extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): OrchestrationState; + getName(): string; + setName(value: string): OrchestrationState; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; + getOrchestrationstatus(): OrchestrationStatus; + setOrchestrationstatus(value: OrchestrationStatus): OrchestrationState; + + hasScheduledstarttimestamp(): boolean; + clearScheduledstarttimestamp(): void; + getScheduledstarttimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setScheduledstarttimestamp(value?: google_protobuf_timestamp_pb.Timestamp): OrchestrationState; + + hasCreatedtimestamp(): boolean; + clearCreatedtimestamp(): void; + getCreatedtimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCreatedtimestamp(value?: google_protobuf_timestamp_pb.Timestamp): OrchestrationState; + + hasLastupdatedtimestamp(): boolean; + clearLastupdatedtimestamp(): void; + getLastupdatedtimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setLastupdatedtimestamp(value?: google_protobuf_timestamp_pb.Timestamp): OrchestrationState; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): google_protobuf_wrappers_pb.StringValue | undefined; + setOutput(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; + + hasCustomstatus(): boolean; + clearCustomstatus(): void; + getCustomstatus(): google_protobuf_wrappers_pb.StringValue | undefined; + setCustomstatus(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): OrchestrationState; + + hasExecutionid(): boolean; + clearExecutionid(): void; + getExecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; + setExecutionid(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; + + hasCompletedtimestamp(): boolean; + clearCompletedtimestamp(): void; + getCompletedtimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCompletedtimestamp(value?: google_protobuf_timestamp_pb.Timestamp): OrchestrationState; + + hasParentinstanceid(): boolean; + clearParentinstanceid(): void; + getParentinstanceid(): google_protobuf_wrappers_pb.StringValue | undefined; + setParentinstanceid(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; + + getTagsMap(): jspb.Map; + clearTagsMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestrationState.AsObject; + static toObject(includeInstance: boolean, msg: OrchestrationState): OrchestrationState.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestrationState, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestrationState; + static deserializeBinaryFromReader(message: OrchestrationState, reader: jspb.BinaryReader): OrchestrationState; +} + +export namespace OrchestrationState { + export type AsObject = { + instanceid: string, + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + orchestrationstatus: OrchestrationStatus, + scheduledstarttimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + createdtimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + lastupdatedtimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + output?: google_protobuf_wrappers_pb.StringValue.AsObject, + customstatus?: google_protobuf_wrappers_pb.StringValue.AsObject, + failuredetails?: TaskFailureDetails.AsObject, + executionid?: google_protobuf_wrappers_pb.StringValue.AsObject, + completedtimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, + parentinstanceid?: google_protobuf_wrappers_pb.StringValue.AsObject, + + tagsMap: Array<[string, string]>, + } +} + +export class RaiseEventRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): RaiseEventRequest; + getName(): string; + setName(value: string): RaiseEventRequest; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): RaiseEventRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RaiseEventRequest.AsObject; + static toObject(includeInstance: boolean, msg: RaiseEventRequest): RaiseEventRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RaiseEventRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RaiseEventRequest; + static deserializeBinaryFromReader(message: RaiseEventRequest, reader: jspb.BinaryReader): RaiseEventRequest; +} + +export namespace RaiseEventRequest { + export type AsObject = { + instanceid: string, + name: string, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class RaiseEventResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RaiseEventResponse.AsObject; + static toObject(includeInstance: boolean, msg: RaiseEventResponse): RaiseEventResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RaiseEventResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RaiseEventResponse; + static deserializeBinaryFromReader(message: RaiseEventResponse, reader: jspb.BinaryReader): RaiseEventResponse; +} + +export namespace RaiseEventResponse { + export type AsObject = { + } +} + +export class TerminateRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): TerminateRequest; + + hasOutput(): boolean; + clearOutput(): void; + getOutput(): google_protobuf_wrappers_pb.StringValue | undefined; + setOutput(value?: google_protobuf_wrappers_pb.StringValue): TerminateRequest; + getRecursive(): boolean; + setRecursive(value: boolean): TerminateRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TerminateRequest.AsObject; + static toObject(includeInstance: boolean, msg: TerminateRequest): TerminateRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TerminateRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TerminateRequest; + static deserializeBinaryFromReader(message: TerminateRequest, reader: jspb.BinaryReader): TerminateRequest; +} + +export namespace TerminateRequest { + export type AsObject = { + instanceid: string, + output?: google_protobuf_wrappers_pb.StringValue.AsObject, + recursive: boolean, + } +} + +export class TerminateResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): TerminateResponse.AsObject; + static toObject(includeInstance: boolean, msg: TerminateResponse): TerminateResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: TerminateResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): TerminateResponse; + static deserializeBinaryFromReader(message: TerminateResponse, reader: jspb.BinaryReader): TerminateResponse; +} + +export namespace TerminateResponse { + export type AsObject = { + } +} + +export class SuspendRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): SuspendRequest; + + hasReason(): boolean; + clearReason(): void; + getReason(): google_protobuf_wrappers_pb.StringValue | undefined; + setReason(value?: google_protobuf_wrappers_pb.StringValue): SuspendRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SuspendRequest.AsObject; + static toObject(includeInstance: boolean, msg: SuspendRequest): SuspendRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SuspendRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SuspendRequest; + static deserializeBinaryFromReader(message: SuspendRequest, reader: jspb.BinaryReader): SuspendRequest; +} + +export namespace SuspendRequest { + export type AsObject = { + instanceid: string, + reason?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class SuspendResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SuspendResponse.AsObject; + static toObject(includeInstance: boolean, msg: SuspendResponse): SuspendResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SuspendResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SuspendResponse; + static deserializeBinaryFromReader(message: SuspendResponse, reader: jspb.BinaryReader): SuspendResponse; +} + +export namespace SuspendResponse { + export type AsObject = { + } +} + +export class ResumeRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): ResumeRequest; + + hasReason(): boolean; + clearReason(): void; + getReason(): google_protobuf_wrappers_pb.StringValue | undefined; + setReason(value?: google_protobuf_wrappers_pb.StringValue): ResumeRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ResumeRequest.AsObject; + static toObject(includeInstance: boolean, msg: ResumeRequest): ResumeRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ResumeRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ResumeRequest; + static deserializeBinaryFromReader(message: ResumeRequest, reader: jspb.BinaryReader): ResumeRequest; +} + +export namespace ResumeRequest { + export type AsObject = { + instanceid: string, + reason?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class ResumeResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ResumeResponse.AsObject; + static toObject(includeInstance: boolean, msg: ResumeResponse): ResumeResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ResumeResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ResumeResponse; + static deserializeBinaryFromReader(message: ResumeResponse, reader: jspb.BinaryReader): ResumeResponse; +} + +export namespace ResumeResponse { + export type AsObject = { + } +} + +export class QueryInstancesRequest extends jspb.Message { + + hasQuery(): boolean; + clearQuery(): void; + getQuery(): InstanceQuery | undefined; + setQuery(value?: InstanceQuery): QueryInstancesRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): QueryInstancesRequest.AsObject; + static toObject(includeInstance: boolean, msg: QueryInstancesRequest): QueryInstancesRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: QueryInstancesRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): QueryInstancesRequest; + static deserializeBinaryFromReader(message: QueryInstancesRequest, reader: jspb.BinaryReader): QueryInstancesRequest; +} + +export namespace QueryInstancesRequest { + export type AsObject = { + query?: InstanceQuery.AsObject, + } +} + +export class InstanceQuery extends jspb.Message { + clearRuntimestatusList(): void; + getRuntimestatusList(): Array; + setRuntimestatusList(value: Array): InstanceQuery; + addRuntimestatus(value: OrchestrationStatus, index?: number): OrchestrationStatus; + + hasCreatedtimefrom(): boolean; + clearCreatedtimefrom(): void; + getCreatedtimefrom(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCreatedtimefrom(value?: google_protobuf_timestamp_pb.Timestamp): InstanceQuery; + + hasCreatedtimeto(): boolean; + clearCreatedtimeto(): void; + getCreatedtimeto(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCreatedtimeto(value?: google_protobuf_timestamp_pb.Timestamp): InstanceQuery; + clearTaskhubnamesList(): void; + getTaskhubnamesList(): Array; + setTaskhubnamesList(value: Array): InstanceQuery; + addTaskhubnames(value?: google_protobuf_wrappers_pb.StringValue, index?: number): google_protobuf_wrappers_pb.StringValue; + getMaxinstancecount(): number; + setMaxinstancecount(value: number): InstanceQuery; + + hasContinuationtoken(): boolean; + clearContinuationtoken(): void; + getContinuationtoken(): google_protobuf_wrappers_pb.StringValue | undefined; + setContinuationtoken(value?: google_protobuf_wrappers_pb.StringValue): InstanceQuery; + + hasInstanceidprefix(): boolean; + clearInstanceidprefix(): void; + getInstanceidprefix(): google_protobuf_wrappers_pb.StringValue | undefined; + setInstanceidprefix(value?: google_protobuf_wrappers_pb.StringValue): InstanceQuery; + getFetchinputsandoutputs(): boolean; + setFetchinputsandoutputs(value: boolean): InstanceQuery; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): InstanceQuery.AsObject; + static toObject(includeInstance: boolean, msg: InstanceQuery): InstanceQuery.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: InstanceQuery, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): InstanceQuery; + static deserializeBinaryFromReader(message: InstanceQuery, reader: jspb.BinaryReader): InstanceQuery; +} + +export namespace InstanceQuery { + export type AsObject = { + runtimestatusList: Array, + createdtimefrom?: google_protobuf_timestamp_pb.Timestamp.AsObject, + createdtimeto?: google_protobuf_timestamp_pb.Timestamp.AsObject, + taskhubnamesList: Array, + maxinstancecount: number, + continuationtoken?: google_protobuf_wrappers_pb.StringValue.AsObject, + instanceidprefix?: google_protobuf_wrappers_pb.StringValue.AsObject, + fetchinputsandoutputs: boolean, + } +} + +export class QueryInstancesResponse extends jspb.Message { + clearOrchestrationstateList(): void; + getOrchestrationstateList(): Array; + setOrchestrationstateList(value: Array): QueryInstancesResponse; + addOrchestrationstate(value?: OrchestrationState, index?: number): OrchestrationState; + + hasContinuationtoken(): boolean; + clearContinuationtoken(): void; + getContinuationtoken(): google_protobuf_wrappers_pb.StringValue | undefined; + setContinuationtoken(value?: google_protobuf_wrappers_pb.StringValue): QueryInstancesResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): QueryInstancesResponse.AsObject; + static toObject(includeInstance: boolean, msg: QueryInstancesResponse): QueryInstancesResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: QueryInstancesResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): QueryInstancesResponse; + static deserializeBinaryFromReader(message: QueryInstancesResponse, reader: jspb.BinaryReader): QueryInstancesResponse; +} + +export namespace QueryInstancesResponse { + export type AsObject = { + orchestrationstateList: Array, + continuationtoken?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class ListInstanceIdsRequest extends jspb.Message { + clearRuntimestatusList(): void; + getRuntimestatusList(): Array; + setRuntimestatusList(value: Array): ListInstanceIdsRequest; + addRuntimestatus(value: OrchestrationStatus, index?: number): OrchestrationStatus; + + hasCompletedtimefrom(): boolean; + clearCompletedtimefrom(): void; + getCompletedtimefrom(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCompletedtimefrom(value?: google_protobuf_timestamp_pb.Timestamp): ListInstanceIdsRequest; + + hasCompletedtimeto(): boolean; + clearCompletedtimeto(): void; + getCompletedtimeto(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCompletedtimeto(value?: google_protobuf_timestamp_pb.Timestamp): ListInstanceIdsRequest; + getPagesize(): number; + setPagesize(value: number): ListInstanceIdsRequest; + + hasLastinstancekey(): boolean; + clearLastinstancekey(): void; + getLastinstancekey(): google_protobuf_wrappers_pb.StringValue | undefined; + setLastinstancekey(value?: google_protobuf_wrappers_pb.StringValue): ListInstanceIdsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListInstanceIdsRequest.AsObject; + static toObject(includeInstance: boolean, msg: ListInstanceIdsRequest): ListInstanceIdsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ListInstanceIdsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListInstanceIdsRequest; + static deserializeBinaryFromReader(message: ListInstanceIdsRequest, reader: jspb.BinaryReader): ListInstanceIdsRequest; +} + +export namespace ListInstanceIdsRequest { + export type AsObject = { + runtimestatusList: Array, + completedtimefrom?: google_protobuf_timestamp_pb.Timestamp.AsObject, + completedtimeto?: google_protobuf_timestamp_pb.Timestamp.AsObject, + pagesize: number, + lastinstancekey?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class ListInstanceIdsResponse extends jspb.Message { + clearInstanceidsList(): void; + getInstanceidsList(): Array; + setInstanceidsList(value: Array): ListInstanceIdsResponse; + addInstanceids(value: string, index?: number): string; + + hasLastinstancekey(): boolean; + clearLastinstancekey(): void; + getLastinstancekey(): google_protobuf_wrappers_pb.StringValue | undefined; + setLastinstancekey(value?: google_protobuf_wrappers_pb.StringValue): ListInstanceIdsResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): ListInstanceIdsResponse.AsObject; + static toObject(includeInstance: boolean, msg: ListInstanceIdsResponse): ListInstanceIdsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: ListInstanceIdsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): ListInstanceIdsResponse; + static deserializeBinaryFromReader(message: ListInstanceIdsResponse, reader: jspb.BinaryReader): ListInstanceIdsResponse; +} + +export namespace ListInstanceIdsResponse { + export type AsObject = { + instanceidsList: Array, + lastinstancekey?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class PurgeInstancesRequest extends jspb.Message { + + hasInstanceid(): boolean; + clearInstanceid(): void; + getInstanceid(): string; + setInstanceid(value: string): PurgeInstancesRequest; + + hasPurgeinstancefilter(): boolean; + clearPurgeinstancefilter(): void; + getPurgeinstancefilter(): PurgeInstanceFilter | undefined; + setPurgeinstancefilter(value?: PurgeInstanceFilter): PurgeInstancesRequest; + + hasInstancebatch(): boolean; + clearInstancebatch(): void; + getInstancebatch(): InstanceBatch | undefined; + setInstancebatch(value?: InstanceBatch): PurgeInstancesRequest; + getRecursive(): boolean; + setRecursive(value: boolean): PurgeInstancesRequest; + getIsorchestration(): boolean; + setIsorchestration(value: boolean): PurgeInstancesRequest; + + getRequestCase(): PurgeInstancesRequest.RequestCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PurgeInstancesRequest.AsObject; + static toObject(includeInstance: boolean, msg: PurgeInstancesRequest): PurgeInstancesRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PurgeInstancesRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PurgeInstancesRequest; + static deserializeBinaryFromReader(message: PurgeInstancesRequest, reader: jspb.BinaryReader): PurgeInstancesRequest; +} + +export namespace PurgeInstancesRequest { + export type AsObject = { + instanceid: string, + purgeinstancefilter?: PurgeInstanceFilter.AsObject, + instancebatch?: InstanceBatch.AsObject, + recursive: boolean, + isorchestration: boolean, + } + + export enum RequestCase { + REQUEST_NOT_SET = 0, + INSTANCEID = 1, + PURGEINSTANCEFILTER = 2, + INSTANCEBATCH = 4, + } + +} + +export class PurgeInstanceFilter extends jspb.Message { + + hasCreatedtimefrom(): boolean; + clearCreatedtimefrom(): void; + getCreatedtimefrom(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCreatedtimefrom(value?: google_protobuf_timestamp_pb.Timestamp): PurgeInstanceFilter; + + hasCreatedtimeto(): boolean; + clearCreatedtimeto(): void; + getCreatedtimeto(): google_protobuf_timestamp_pb.Timestamp | undefined; + setCreatedtimeto(value?: google_protobuf_timestamp_pb.Timestamp): PurgeInstanceFilter; + clearRuntimestatusList(): void; + getRuntimestatusList(): Array; + setRuntimestatusList(value: Array): PurgeInstanceFilter; + addRuntimestatus(value: OrchestrationStatus, index?: number): OrchestrationStatus; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PurgeInstanceFilter.AsObject; + static toObject(includeInstance: boolean, msg: PurgeInstanceFilter): PurgeInstanceFilter.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PurgeInstanceFilter, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PurgeInstanceFilter; + static deserializeBinaryFromReader(message: PurgeInstanceFilter, reader: jspb.BinaryReader): PurgeInstanceFilter; +} + +export namespace PurgeInstanceFilter { + export type AsObject = { + createdtimefrom?: google_protobuf_timestamp_pb.Timestamp.AsObject, + createdtimeto?: google_protobuf_timestamp_pb.Timestamp.AsObject, + runtimestatusList: Array, + } +} + +export class PurgeInstancesResponse extends jspb.Message { + getDeletedinstancecount(): number; + setDeletedinstancecount(value: number): PurgeInstancesResponse; + + hasIscomplete(): boolean; + clearIscomplete(): void; + getIscomplete(): google_protobuf_wrappers_pb.BoolValue | undefined; + setIscomplete(value?: google_protobuf_wrappers_pb.BoolValue): PurgeInstancesResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): PurgeInstancesResponse.AsObject; + static toObject(includeInstance: boolean, msg: PurgeInstancesResponse): PurgeInstancesResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: PurgeInstancesResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): PurgeInstancesResponse; + static deserializeBinaryFromReader(message: PurgeInstancesResponse, reader: jspb.BinaryReader): PurgeInstancesResponse; +} + +export namespace PurgeInstancesResponse { + export type AsObject = { + deletedinstancecount: number, + iscomplete?: google_protobuf_wrappers_pb.BoolValue.AsObject, + } +} + +export class RestartInstanceRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): RestartInstanceRequest; + getRestartwithnewinstanceid(): boolean; + setRestartwithnewinstanceid(value: boolean): RestartInstanceRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RestartInstanceRequest.AsObject; + static toObject(includeInstance: boolean, msg: RestartInstanceRequest): RestartInstanceRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RestartInstanceRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RestartInstanceRequest; + static deserializeBinaryFromReader(message: RestartInstanceRequest, reader: jspb.BinaryReader): RestartInstanceRequest; +} + +export namespace RestartInstanceRequest { + export type AsObject = { + instanceid: string, + restartwithnewinstanceid: boolean, + } +} + +export class RestartInstanceResponse extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): RestartInstanceResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RestartInstanceResponse.AsObject; + static toObject(includeInstance: boolean, msg: RestartInstanceResponse): RestartInstanceResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RestartInstanceResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RestartInstanceResponse; + static deserializeBinaryFromReader(message: RestartInstanceResponse, reader: jspb.BinaryReader): RestartInstanceResponse; +} + +export namespace RestartInstanceResponse { + export type AsObject = { + instanceid: string, + } +} + +export class CreateTaskHubRequest extends jspb.Message { + getRecreateifexists(): boolean; + setRecreateifexists(value: boolean): CreateTaskHubRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateTaskHubRequest.AsObject; + static toObject(includeInstance: boolean, msg: CreateTaskHubRequest): CreateTaskHubRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateTaskHubRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateTaskHubRequest; + static deserializeBinaryFromReader(message: CreateTaskHubRequest, reader: jspb.BinaryReader): CreateTaskHubRequest; +} + +export namespace CreateTaskHubRequest { + export type AsObject = { + recreateifexists: boolean, + } +} + +export class CreateTaskHubResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CreateTaskHubResponse.AsObject; + static toObject(includeInstance: boolean, msg: CreateTaskHubResponse): CreateTaskHubResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CreateTaskHubResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CreateTaskHubResponse; + static deserializeBinaryFromReader(message: CreateTaskHubResponse, reader: jspb.BinaryReader): CreateTaskHubResponse; +} + +export namespace CreateTaskHubResponse { + export type AsObject = { + } +} + +export class DeleteTaskHubRequest extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DeleteTaskHubRequest.AsObject; + static toObject(includeInstance: boolean, msg: DeleteTaskHubRequest): DeleteTaskHubRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DeleteTaskHubRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DeleteTaskHubRequest; + static deserializeBinaryFromReader(message: DeleteTaskHubRequest, reader: jspb.BinaryReader): DeleteTaskHubRequest; +} + +export namespace DeleteTaskHubRequest { + export type AsObject = { + } +} + +export class DeleteTaskHubResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): DeleteTaskHubResponse.AsObject; + static toObject(includeInstance: boolean, msg: DeleteTaskHubResponse): DeleteTaskHubResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: DeleteTaskHubResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): DeleteTaskHubResponse; + static deserializeBinaryFromReader(message: DeleteTaskHubResponse, reader: jspb.BinaryReader): DeleteTaskHubResponse; +} + +export namespace DeleteTaskHubResponse { + export type AsObject = { + } +} + +export class SignalEntityRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): SignalEntityRequest; + getName(): string; + setName(value: string): SignalEntityRequest; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): SignalEntityRequest; + getRequestid(): string; + setRequestid(value: string): SignalEntityRequest; + + hasScheduledtime(): boolean; + clearScheduledtime(): void; + getScheduledtime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setScheduledtime(value?: google_protobuf_timestamp_pb.Timestamp): SignalEntityRequest; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): SignalEntityRequest; + + hasRequesttime(): boolean; + clearRequesttime(): void; + getRequesttime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setRequesttime(value?: google_protobuf_timestamp_pb.Timestamp): SignalEntityRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SignalEntityRequest.AsObject; + static toObject(includeInstance: boolean, msg: SignalEntityRequest): SignalEntityRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SignalEntityRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SignalEntityRequest; + static deserializeBinaryFromReader(message: SignalEntityRequest, reader: jspb.BinaryReader): SignalEntityRequest; +} + +export namespace SignalEntityRequest { + export type AsObject = { + instanceid: string, + name: string, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + requestid: string, + scheduledtime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + parenttracecontext?: TraceContext.AsObject, + requesttime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class SignalEntityResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SignalEntityResponse.AsObject; + static toObject(includeInstance: boolean, msg: SignalEntityResponse): SignalEntityResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SignalEntityResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SignalEntityResponse; + static deserializeBinaryFromReader(message: SignalEntityResponse, reader: jspb.BinaryReader): SignalEntityResponse; +} + +export namespace SignalEntityResponse { + export type AsObject = { + } +} + +export class GetEntityRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): GetEntityRequest; + getIncludestate(): boolean; + setIncludestate(value: boolean): GetEntityRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetEntityRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetEntityRequest): GetEntityRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetEntityRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetEntityRequest; + static deserializeBinaryFromReader(message: GetEntityRequest, reader: jspb.BinaryReader): GetEntityRequest; +} + +export namespace GetEntityRequest { + export type AsObject = { + instanceid: string, + includestate: boolean, + } +} + +export class GetEntityResponse extends jspb.Message { + getExists(): boolean; + setExists(value: boolean): GetEntityResponse; + + hasEntity(): boolean; + clearEntity(): void; + getEntity(): EntityMetadata | undefined; + setEntity(value?: EntityMetadata): GetEntityResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetEntityResponse.AsObject; + static toObject(includeInstance: boolean, msg: GetEntityResponse): GetEntityResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetEntityResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetEntityResponse; + static deserializeBinaryFromReader(message: GetEntityResponse, reader: jspb.BinaryReader): GetEntityResponse; +} + +export namespace GetEntityResponse { + export type AsObject = { + exists: boolean, + entity?: EntityMetadata.AsObject, + } +} + +export class EntityQuery extends jspb.Message { + + hasInstanceidstartswith(): boolean; + clearInstanceidstartswith(): void; + getInstanceidstartswith(): google_protobuf_wrappers_pb.StringValue | undefined; + setInstanceidstartswith(value?: google_protobuf_wrappers_pb.StringValue): EntityQuery; + + hasLastmodifiedfrom(): boolean; + clearLastmodifiedfrom(): void; + getLastmodifiedfrom(): google_protobuf_timestamp_pb.Timestamp | undefined; + setLastmodifiedfrom(value?: google_protobuf_timestamp_pb.Timestamp): EntityQuery; + + hasLastmodifiedto(): boolean; + clearLastmodifiedto(): void; + getLastmodifiedto(): google_protobuf_timestamp_pb.Timestamp | undefined; + setLastmodifiedto(value?: google_protobuf_timestamp_pb.Timestamp): EntityQuery; + getIncludestate(): boolean; + setIncludestate(value: boolean): EntityQuery; + getIncludetransient(): boolean; + setIncludetransient(value: boolean): EntityQuery; + + hasPagesize(): boolean; + clearPagesize(): void; + getPagesize(): google_protobuf_wrappers_pb.Int32Value | undefined; + setPagesize(value?: google_protobuf_wrappers_pb.Int32Value): EntityQuery; + + hasContinuationtoken(): boolean; + clearContinuationtoken(): void; + getContinuationtoken(): google_protobuf_wrappers_pb.StringValue | undefined; + setContinuationtoken(value?: google_protobuf_wrappers_pb.StringValue): EntityQuery; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityQuery.AsObject; + static toObject(includeInstance: boolean, msg: EntityQuery): EntityQuery.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityQuery, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityQuery; + static deserializeBinaryFromReader(message: EntityQuery, reader: jspb.BinaryReader): EntityQuery; +} + +export namespace EntityQuery { + export type AsObject = { + instanceidstartswith?: google_protobuf_wrappers_pb.StringValue.AsObject, + lastmodifiedfrom?: google_protobuf_timestamp_pb.Timestamp.AsObject, + lastmodifiedto?: google_protobuf_timestamp_pb.Timestamp.AsObject, + includestate: boolean, + includetransient: boolean, + pagesize?: google_protobuf_wrappers_pb.Int32Value.AsObject, + continuationtoken?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class QueryEntitiesRequest extends jspb.Message { + + hasQuery(): boolean; + clearQuery(): void; + getQuery(): EntityQuery | undefined; + setQuery(value?: EntityQuery): QueryEntitiesRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): QueryEntitiesRequest.AsObject; + static toObject(includeInstance: boolean, msg: QueryEntitiesRequest): QueryEntitiesRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: QueryEntitiesRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): QueryEntitiesRequest; + static deserializeBinaryFromReader(message: QueryEntitiesRequest, reader: jspb.BinaryReader): QueryEntitiesRequest; +} + +export namespace QueryEntitiesRequest { + export type AsObject = { + query?: EntityQuery.AsObject, + } +} + +export class QueryEntitiesResponse extends jspb.Message { + clearEntitiesList(): void; + getEntitiesList(): Array; + setEntitiesList(value: Array): QueryEntitiesResponse; + addEntities(value?: EntityMetadata, index?: number): EntityMetadata; + + hasContinuationtoken(): boolean; + clearContinuationtoken(): void; + getContinuationtoken(): google_protobuf_wrappers_pb.StringValue | undefined; + setContinuationtoken(value?: google_protobuf_wrappers_pb.StringValue): QueryEntitiesResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): QueryEntitiesResponse.AsObject; + static toObject(includeInstance: boolean, msg: QueryEntitiesResponse): QueryEntitiesResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: QueryEntitiesResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): QueryEntitiesResponse; + static deserializeBinaryFromReader(message: QueryEntitiesResponse, reader: jspb.BinaryReader): QueryEntitiesResponse; +} + +export namespace QueryEntitiesResponse { + export type AsObject = { + entitiesList: Array, + continuationtoken?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class EntityMetadata extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): EntityMetadata; + + hasLastmodifiedtime(): boolean; + clearLastmodifiedtime(): void; + getLastmodifiedtime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setLastmodifiedtime(value?: google_protobuf_timestamp_pb.Timestamp): EntityMetadata; + getBacklogqueuesize(): number; + setBacklogqueuesize(value: number): EntityMetadata; + + hasLockedby(): boolean; + clearLockedby(): void; + getLockedby(): google_protobuf_wrappers_pb.StringValue | undefined; + setLockedby(value?: google_protobuf_wrappers_pb.StringValue): EntityMetadata; + + hasSerializedstate(): boolean; + clearSerializedstate(): void; + getSerializedstate(): google_protobuf_wrappers_pb.StringValue | undefined; + setSerializedstate(value?: google_protobuf_wrappers_pb.StringValue): EntityMetadata; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityMetadata.AsObject; + static toObject(includeInstance: boolean, msg: EntityMetadata): EntityMetadata.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityMetadata, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityMetadata; + static deserializeBinaryFromReader(message: EntityMetadata, reader: jspb.BinaryReader): EntityMetadata; +} + +export namespace EntityMetadata { + export type AsObject = { + instanceid: string, + lastmodifiedtime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + backlogqueuesize: number, + lockedby?: google_protobuf_wrappers_pb.StringValue.AsObject, + serializedstate?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class CleanEntityStorageRequest extends jspb.Message { + + hasContinuationtoken(): boolean; + clearContinuationtoken(): void; + getContinuationtoken(): google_protobuf_wrappers_pb.StringValue | undefined; + setContinuationtoken(value?: google_protobuf_wrappers_pb.StringValue): CleanEntityStorageRequest; + getRemoveemptyentities(): boolean; + setRemoveemptyentities(value: boolean): CleanEntityStorageRequest; + getReleaseorphanedlocks(): boolean; + setReleaseorphanedlocks(value: boolean): CleanEntityStorageRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CleanEntityStorageRequest.AsObject; + static toObject(includeInstance: boolean, msg: CleanEntityStorageRequest): CleanEntityStorageRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CleanEntityStorageRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CleanEntityStorageRequest; + static deserializeBinaryFromReader(message: CleanEntityStorageRequest, reader: jspb.BinaryReader): CleanEntityStorageRequest; +} + +export namespace CleanEntityStorageRequest { + export type AsObject = { + continuationtoken?: google_protobuf_wrappers_pb.StringValue.AsObject, + removeemptyentities: boolean, + releaseorphanedlocks: boolean, + } +} + +export class CleanEntityStorageResponse extends jspb.Message { + + hasContinuationtoken(): boolean; + clearContinuationtoken(): void; + getContinuationtoken(): google_protobuf_wrappers_pb.StringValue | undefined; + setContinuationtoken(value?: google_protobuf_wrappers_pb.StringValue): CleanEntityStorageResponse; + getEmptyentitiesremoved(): number; + setEmptyentitiesremoved(value: number): CleanEntityStorageResponse; + getOrphanedlocksreleased(): number; + setOrphanedlocksreleased(value: number): CleanEntityStorageResponse; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CleanEntityStorageResponse.AsObject; + static toObject(includeInstance: boolean, msg: CleanEntityStorageResponse): CleanEntityStorageResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CleanEntityStorageResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CleanEntityStorageResponse; + static deserializeBinaryFromReader(message: CleanEntityStorageResponse, reader: jspb.BinaryReader): CleanEntityStorageResponse; +} + +export namespace CleanEntityStorageResponse { + export type AsObject = { + continuationtoken?: google_protobuf_wrappers_pb.StringValue.AsObject, + emptyentitiesremoved: number, + orphanedlocksreleased: number, + } +} + +export class OrchestratorEntityParameters extends jspb.Message { + + hasEntitymessagereorderwindow(): boolean; + clearEntitymessagereorderwindow(): void; + getEntitymessagereorderwindow(): google_protobuf_duration_pb.Duration | undefined; + setEntitymessagereorderwindow(value?: google_protobuf_duration_pb.Duration): OrchestratorEntityParameters; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OrchestratorEntityParameters.AsObject; + static toObject(includeInstance: boolean, msg: OrchestratorEntityParameters): OrchestratorEntityParameters.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OrchestratorEntityParameters, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OrchestratorEntityParameters; + static deserializeBinaryFromReader(message: OrchestratorEntityParameters, reader: jspb.BinaryReader): OrchestratorEntityParameters; +} + +export namespace OrchestratorEntityParameters { + export type AsObject = { + entitymessagereorderwindow?: google_protobuf_duration_pb.Duration.AsObject, + } +} + +export class EntityBatchRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): EntityBatchRequest; + + hasEntitystate(): boolean; + clearEntitystate(): void; + getEntitystate(): google_protobuf_wrappers_pb.StringValue | undefined; + setEntitystate(value?: google_protobuf_wrappers_pb.StringValue): EntityBatchRequest; + clearOperationsList(): void; + getOperationsList(): Array; + setOperationsList(value: Array): EntityBatchRequest; + addOperations(value?: OperationRequest, index?: number): OperationRequest; + + getPropertiesMap(): jspb.Map; + clearPropertiesMap(): void; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityBatchRequest.AsObject; + static toObject(includeInstance: boolean, msg: EntityBatchRequest): EntityBatchRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityBatchRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityBatchRequest; + static deserializeBinaryFromReader(message: EntityBatchRequest, reader: jspb.BinaryReader): EntityBatchRequest; +} + +export namespace EntityBatchRequest { + export type AsObject = { + instanceid: string, + entitystate?: google_protobuf_wrappers_pb.StringValue.AsObject, + operationsList: Array, + + propertiesMap: Array<[string, google_protobuf_struct_pb.Value.AsObject]>, + } +} + +export class EntityBatchResult extends jspb.Message { + clearResultsList(): void; + getResultsList(): Array; + setResultsList(value: Array): EntityBatchResult; + addResults(value?: OperationResult, index?: number): OperationResult; + clearActionsList(): void; + getActionsList(): Array; + setActionsList(value: Array): EntityBatchResult; + addActions(value?: OperationAction, index?: number): OperationAction; + + hasEntitystate(): boolean; + clearEntitystate(): void; + getEntitystate(): google_protobuf_wrappers_pb.StringValue | undefined; + setEntitystate(value?: google_protobuf_wrappers_pb.StringValue): EntityBatchResult; + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): EntityBatchResult; + getCompletiontoken(): string; + setCompletiontoken(value: string): EntityBatchResult; + clearOperationinfosList(): void; + getOperationinfosList(): Array; + setOperationinfosList(value: Array): EntityBatchResult; + addOperationinfos(value?: OperationInfo, index?: number): OperationInfo; + getRequiresstate(): boolean; + setRequiresstate(value: boolean): EntityBatchResult; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityBatchResult.AsObject; + static toObject(includeInstance: boolean, msg: EntityBatchResult): EntityBatchResult.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityBatchResult, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityBatchResult; + static deserializeBinaryFromReader(message: EntityBatchResult, reader: jspb.BinaryReader): EntityBatchResult; +} + +export namespace EntityBatchResult { + export type AsObject = { + resultsList: Array, + actionsList: Array, + entitystate?: google_protobuf_wrappers_pb.StringValue.AsObject, + failuredetails?: TaskFailureDetails.AsObject, + completiontoken: string, + operationinfosList: Array, + requiresstate: boolean, + } +} + +export class EntityRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): EntityRequest; + getExecutionid(): string; + setExecutionid(value: string): EntityRequest; + + hasEntitystate(): boolean; + clearEntitystate(): void; + getEntitystate(): google_protobuf_wrappers_pb.StringValue | undefined; + setEntitystate(value?: google_protobuf_wrappers_pb.StringValue): EntityRequest; + clearOperationrequestsList(): void; + getOperationrequestsList(): Array; + setOperationrequestsList(value: Array): EntityRequest; + addOperationrequests(value?: HistoryEvent, index?: number): HistoryEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): EntityRequest.AsObject; + static toObject(includeInstance: boolean, msg: EntityRequest): EntityRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: EntityRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): EntityRequest; + static deserializeBinaryFromReader(message: EntityRequest, reader: jspb.BinaryReader): EntityRequest; +} + +export namespace EntityRequest { + export type AsObject = { + instanceid: string, + executionid: string, + entitystate?: google_protobuf_wrappers_pb.StringValue.AsObject, + operationrequestsList: Array, + } +} + +export class OperationRequest extends jspb.Message { + getOperation(): string; + setOperation(value: string): OperationRequest; + getRequestid(): string; + setRequestid(value: string): OperationRequest; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): OperationRequest; + + hasTracecontext(): boolean; + clearTracecontext(): void; + getTracecontext(): TraceContext | undefined; + setTracecontext(value?: TraceContext): OperationRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OperationRequest.AsObject; + static toObject(includeInstance: boolean, msg: OperationRequest): OperationRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OperationRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OperationRequest; + static deserializeBinaryFromReader(message: OperationRequest, reader: jspb.BinaryReader): OperationRequest; +} + +export namespace OperationRequest { + export type AsObject = { + operation: string, + requestid: string, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + tracecontext?: TraceContext.AsObject, + } +} + +export class OperationResult extends jspb.Message { + + hasSuccess(): boolean; + clearSuccess(): void; + getSuccess(): OperationResultSuccess | undefined; + setSuccess(value?: OperationResultSuccess): OperationResult; + + hasFailure(): boolean; + clearFailure(): void; + getFailure(): OperationResultFailure | undefined; + setFailure(value?: OperationResultFailure): OperationResult; + + getResulttypeCase(): OperationResult.ResulttypeCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OperationResult.AsObject; + static toObject(includeInstance: boolean, msg: OperationResult): OperationResult.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OperationResult, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OperationResult; + static deserializeBinaryFromReader(message: OperationResult, reader: jspb.BinaryReader): OperationResult; +} + +export namespace OperationResult { + export type AsObject = { + success?: OperationResultSuccess.AsObject, + failure?: OperationResultFailure.AsObject, + } + + export enum ResulttypeCase { + RESULTTYPE_NOT_SET = 0, + SUCCESS = 1, + FAILURE = 2, + } + +} + +export class OperationInfo extends jspb.Message { + getRequestid(): string; + setRequestid(value: string): OperationInfo; + + hasResponsedestination(): boolean; + clearResponsedestination(): void; + getResponsedestination(): OrchestrationInstance | undefined; + setResponsedestination(value?: OrchestrationInstance): OperationInfo; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OperationInfo.AsObject; + static toObject(includeInstance: boolean, msg: OperationInfo): OperationInfo.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OperationInfo, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OperationInfo; + static deserializeBinaryFromReader(message: OperationInfo, reader: jspb.BinaryReader): OperationInfo; +} + +export namespace OperationInfo { + export type AsObject = { + requestid: string, + responsedestination?: OrchestrationInstance.AsObject, + } +} + +export class OperationResultSuccess extends jspb.Message { + + hasResult(): boolean; + clearResult(): void; + getResult(): google_protobuf_wrappers_pb.StringValue | undefined; + setResult(value?: google_protobuf_wrappers_pb.StringValue): OperationResultSuccess; + + hasStarttimeutc(): boolean; + clearStarttimeutc(): void; + getStarttimeutc(): google_protobuf_timestamp_pb.Timestamp | undefined; + setStarttimeutc(value?: google_protobuf_timestamp_pb.Timestamp): OperationResultSuccess; + + hasEndtimeutc(): boolean; + clearEndtimeutc(): void; + getEndtimeutc(): google_protobuf_timestamp_pb.Timestamp | undefined; + setEndtimeutc(value?: google_protobuf_timestamp_pb.Timestamp): OperationResultSuccess; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OperationResultSuccess.AsObject; + static toObject(includeInstance: boolean, msg: OperationResultSuccess): OperationResultSuccess.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OperationResultSuccess, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OperationResultSuccess; + static deserializeBinaryFromReader(message: OperationResultSuccess, reader: jspb.BinaryReader): OperationResultSuccess; +} + +export namespace OperationResultSuccess { + export type AsObject = { + result?: google_protobuf_wrappers_pb.StringValue.AsObject, + starttimeutc?: google_protobuf_timestamp_pb.Timestamp.AsObject, + endtimeutc?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class OperationResultFailure extends jspb.Message { + + hasFailuredetails(): boolean; + clearFailuredetails(): void; + getFailuredetails(): TaskFailureDetails | undefined; + setFailuredetails(value?: TaskFailureDetails): OperationResultFailure; + + hasStarttimeutc(): boolean; + clearStarttimeutc(): void; + getStarttimeutc(): google_protobuf_timestamp_pb.Timestamp | undefined; + setStarttimeutc(value?: google_protobuf_timestamp_pb.Timestamp): OperationResultFailure; + + hasEndtimeutc(): boolean; + clearEndtimeutc(): void; + getEndtimeutc(): google_protobuf_timestamp_pb.Timestamp | undefined; + setEndtimeutc(value?: google_protobuf_timestamp_pb.Timestamp): OperationResultFailure; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OperationResultFailure.AsObject; + static toObject(includeInstance: boolean, msg: OperationResultFailure): OperationResultFailure.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OperationResultFailure, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OperationResultFailure; + static deserializeBinaryFromReader(message: OperationResultFailure, reader: jspb.BinaryReader): OperationResultFailure; +} + +export namespace OperationResultFailure { + export type AsObject = { + failuredetails?: TaskFailureDetails.AsObject, + starttimeutc?: google_protobuf_timestamp_pb.Timestamp.AsObject, + endtimeutc?: google_protobuf_timestamp_pb.Timestamp.AsObject, + } +} + +export class OperationAction extends jspb.Message { + getId(): number; + setId(value: number): OperationAction; + + hasSendsignal(): boolean; + clearSendsignal(): void; + getSendsignal(): SendSignalAction | undefined; + setSendsignal(value?: SendSignalAction): OperationAction; + + hasStartneworchestration(): boolean; + clearStartneworchestration(): void; + getStartneworchestration(): StartNewOrchestrationAction | undefined; + setStartneworchestration(value?: StartNewOrchestrationAction): OperationAction; + + getOperationactiontypeCase(): OperationAction.OperationactiontypeCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): OperationAction.AsObject; + static toObject(includeInstance: boolean, msg: OperationAction): OperationAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: OperationAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): OperationAction; + static deserializeBinaryFromReader(message: OperationAction, reader: jspb.BinaryReader): OperationAction; +} + +export namespace OperationAction { + export type AsObject = { + id: number, + sendsignal?: SendSignalAction.AsObject, + startneworchestration?: StartNewOrchestrationAction.AsObject, + } + + export enum OperationactiontypeCase { + OPERATIONACTIONTYPE_NOT_SET = 0, + SENDSIGNAL = 2, + STARTNEWORCHESTRATION = 3, + } + +} + +export class SendSignalAction extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): SendSignalAction; + getName(): string; + setName(value: string): SendSignalAction; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): SendSignalAction; + + hasScheduledtime(): boolean; + clearScheduledtime(): void; + getScheduledtime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setScheduledtime(value?: google_protobuf_timestamp_pb.Timestamp): SendSignalAction; + + hasRequesttime(): boolean; + clearRequesttime(): void; + getRequesttime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setRequesttime(value?: google_protobuf_timestamp_pb.Timestamp): SendSignalAction; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): SendSignalAction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SendSignalAction.AsObject; + static toObject(includeInstance: boolean, msg: SendSignalAction): SendSignalAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SendSignalAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SendSignalAction; + static deserializeBinaryFromReader(message: SendSignalAction, reader: jspb.BinaryReader): SendSignalAction; +} + +export namespace SendSignalAction { + export type AsObject = { + instanceid: string, + name: string, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + scheduledtime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + requesttime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + parenttracecontext?: TraceContext.AsObject, + } +} + +export class StartNewOrchestrationAction extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): StartNewOrchestrationAction; + getName(): string; + setName(value: string): StartNewOrchestrationAction; + + hasVersion(): boolean; + clearVersion(): void; + getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; + setVersion(value?: google_protobuf_wrappers_pb.StringValue): StartNewOrchestrationAction; + + hasInput(): boolean; + clearInput(): void; + getInput(): google_protobuf_wrappers_pb.StringValue | undefined; + setInput(value?: google_protobuf_wrappers_pb.StringValue): StartNewOrchestrationAction; + + hasScheduledtime(): boolean; + clearScheduledtime(): void; + getScheduledtime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setScheduledtime(value?: google_protobuf_timestamp_pb.Timestamp): StartNewOrchestrationAction; + + hasRequesttime(): boolean; + clearRequesttime(): void; + getRequesttime(): google_protobuf_timestamp_pb.Timestamp | undefined; + setRequesttime(value?: google_protobuf_timestamp_pb.Timestamp): StartNewOrchestrationAction; + + hasParenttracecontext(): boolean; + clearParenttracecontext(): void; + getParenttracecontext(): TraceContext | undefined; + setParenttracecontext(value?: TraceContext): StartNewOrchestrationAction; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StartNewOrchestrationAction.AsObject; + static toObject(includeInstance: boolean, msg: StartNewOrchestrationAction): StartNewOrchestrationAction.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StartNewOrchestrationAction, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StartNewOrchestrationAction; + static deserializeBinaryFromReader(message: StartNewOrchestrationAction, reader: jspb.BinaryReader): StartNewOrchestrationAction; +} + +export namespace StartNewOrchestrationAction { + export type AsObject = { + instanceid: string, + name: string, + version?: google_protobuf_wrappers_pb.StringValue.AsObject, + input?: google_protobuf_wrappers_pb.StringValue.AsObject, + scheduledtime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + requesttime?: google_protobuf_timestamp_pb.Timestamp.AsObject, + parenttracecontext?: TraceContext.AsObject, + } +} + +export class AbandonActivityTaskRequest extends jspb.Message { + getCompletiontoken(): string; + setCompletiontoken(value: string): AbandonActivityTaskRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AbandonActivityTaskRequest.AsObject; + static toObject(includeInstance: boolean, msg: AbandonActivityTaskRequest): AbandonActivityTaskRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AbandonActivityTaskRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AbandonActivityTaskRequest; + static deserializeBinaryFromReader(message: AbandonActivityTaskRequest, reader: jspb.BinaryReader): AbandonActivityTaskRequest; +} + +export namespace AbandonActivityTaskRequest { + export type AsObject = { + completiontoken: string, + } +} + +export class AbandonActivityTaskResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AbandonActivityTaskResponse.AsObject; + static toObject(includeInstance: boolean, msg: AbandonActivityTaskResponse): AbandonActivityTaskResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AbandonActivityTaskResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AbandonActivityTaskResponse; + static deserializeBinaryFromReader(message: AbandonActivityTaskResponse, reader: jspb.BinaryReader): AbandonActivityTaskResponse; +} + +export namespace AbandonActivityTaskResponse { + export type AsObject = { + } +} + +export class AbandonOrchestrationTaskRequest extends jspb.Message { + getCompletiontoken(): string; + setCompletiontoken(value: string): AbandonOrchestrationTaskRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AbandonOrchestrationTaskRequest.AsObject; + static toObject(includeInstance: boolean, msg: AbandonOrchestrationTaskRequest): AbandonOrchestrationTaskRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AbandonOrchestrationTaskRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AbandonOrchestrationTaskRequest; + static deserializeBinaryFromReader(message: AbandonOrchestrationTaskRequest, reader: jspb.BinaryReader): AbandonOrchestrationTaskRequest; +} + +export namespace AbandonOrchestrationTaskRequest { + export type AsObject = { + completiontoken: string, + } +} + +export class AbandonOrchestrationTaskResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AbandonOrchestrationTaskResponse.AsObject; + static toObject(includeInstance: boolean, msg: AbandonOrchestrationTaskResponse): AbandonOrchestrationTaskResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AbandonOrchestrationTaskResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AbandonOrchestrationTaskResponse; + static deserializeBinaryFromReader(message: AbandonOrchestrationTaskResponse, reader: jspb.BinaryReader): AbandonOrchestrationTaskResponse; +} + +export namespace AbandonOrchestrationTaskResponse { + export type AsObject = { + } +} + +export class AbandonEntityTaskRequest extends jspb.Message { + getCompletiontoken(): string; + setCompletiontoken(value: string): AbandonEntityTaskRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AbandonEntityTaskRequest.AsObject; + static toObject(includeInstance: boolean, msg: AbandonEntityTaskRequest): AbandonEntityTaskRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AbandonEntityTaskRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AbandonEntityTaskRequest; + static deserializeBinaryFromReader(message: AbandonEntityTaskRequest, reader: jspb.BinaryReader): AbandonEntityTaskRequest; +} + +export namespace AbandonEntityTaskRequest { + export type AsObject = { + completiontoken: string, + } +} + +export class AbandonEntityTaskResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): AbandonEntityTaskResponse.AsObject; + static toObject(includeInstance: boolean, msg: AbandonEntityTaskResponse): AbandonEntityTaskResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: AbandonEntityTaskResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): AbandonEntityTaskResponse; + static deserializeBinaryFromReader(message: AbandonEntityTaskResponse, reader: jspb.BinaryReader): AbandonEntityTaskResponse; +} + +export namespace AbandonEntityTaskResponse { + export type AsObject = { + } +} + +export class SkipGracefulOrchestrationTerminationsRequest extends jspb.Message { + + hasInstancebatch(): boolean; + clearInstancebatch(): void; + getInstancebatch(): InstanceBatch | undefined; + setInstancebatch(value?: InstanceBatch): SkipGracefulOrchestrationTerminationsRequest; + + hasReason(): boolean; + clearReason(): void; + getReason(): google_protobuf_wrappers_pb.StringValue | undefined; + setReason(value?: google_protobuf_wrappers_pb.StringValue): SkipGracefulOrchestrationTerminationsRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SkipGracefulOrchestrationTerminationsRequest.AsObject; + static toObject(includeInstance: boolean, msg: SkipGracefulOrchestrationTerminationsRequest): SkipGracefulOrchestrationTerminationsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SkipGracefulOrchestrationTerminationsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SkipGracefulOrchestrationTerminationsRequest; + static deserializeBinaryFromReader(message: SkipGracefulOrchestrationTerminationsRequest, reader: jspb.BinaryReader): SkipGracefulOrchestrationTerminationsRequest; +} + +export namespace SkipGracefulOrchestrationTerminationsRequest { + export type AsObject = { + instancebatch?: InstanceBatch.AsObject, + reason?: google_protobuf_wrappers_pb.StringValue.AsObject, + } +} + +export class SkipGracefulOrchestrationTerminationsResponse extends jspb.Message { + clearUnterminatedinstanceidsList(): void; + getUnterminatedinstanceidsList(): Array; + setUnterminatedinstanceidsList(value: Array): SkipGracefulOrchestrationTerminationsResponse; + addUnterminatedinstanceids(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): SkipGracefulOrchestrationTerminationsResponse.AsObject; + static toObject(includeInstance: boolean, msg: SkipGracefulOrchestrationTerminationsResponse): SkipGracefulOrchestrationTerminationsResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: SkipGracefulOrchestrationTerminationsResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): SkipGracefulOrchestrationTerminationsResponse; + static deserializeBinaryFromReader(message: SkipGracefulOrchestrationTerminationsResponse, reader: jspb.BinaryReader): SkipGracefulOrchestrationTerminationsResponse; +} + +export namespace SkipGracefulOrchestrationTerminationsResponse { + export type AsObject = { + unterminatedinstanceidsList: Array, + } +} + +export class GetWorkItemsRequest extends jspb.Message { + getMaxconcurrentorchestrationworkitems(): number; + setMaxconcurrentorchestrationworkitems(value: number): GetWorkItemsRequest; + getMaxconcurrentactivityworkitems(): number; + setMaxconcurrentactivityworkitems(value: number): GetWorkItemsRequest; + getMaxconcurrententityworkitems(): number; + setMaxconcurrententityworkitems(value: number): GetWorkItemsRequest; + clearCapabilitiesList(): void; + getCapabilitiesList(): Array; + setCapabilitiesList(value: Array): GetWorkItemsRequest; + addCapabilities(value: WorkerCapability, index?: number): WorkerCapability; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): GetWorkItemsRequest.AsObject; + static toObject(includeInstance: boolean, msg: GetWorkItemsRequest): GetWorkItemsRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: GetWorkItemsRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): GetWorkItemsRequest; + static deserializeBinaryFromReader(message: GetWorkItemsRequest, reader: jspb.BinaryReader): GetWorkItemsRequest; +} + +export namespace GetWorkItemsRequest { + export type AsObject = { + maxconcurrentorchestrationworkitems: number, + maxconcurrentactivityworkitems: number, + maxconcurrententityworkitems: number, + capabilitiesList: Array, + } +} + +export class WorkItem extends jspb.Message { + + hasOrchestratorrequest(): boolean; + clearOrchestratorrequest(): void; + getOrchestratorrequest(): OrchestratorRequest | undefined; + setOrchestratorrequest(value?: OrchestratorRequest): WorkItem; + + hasActivityrequest(): boolean; + clearActivityrequest(): void; + getActivityrequest(): ActivityRequest | undefined; + setActivityrequest(value?: ActivityRequest): WorkItem; + + hasEntityrequest(): boolean; + clearEntityrequest(): void; + getEntityrequest(): EntityBatchRequest | undefined; + setEntityrequest(value?: EntityBatchRequest): WorkItem; + + hasHealthping(): boolean; + clearHealthping(): void; + getHealthping(): HealthPing | undefined; + setHealthping(value?: HealthPing): WorkItem; + + hasEntityrequestv2(): boolean; + clearEntityrequestv2(): void; + getEntityrequestv2(): EntityRequest | undefined; + setEntityrequestv2(value?: EntityRequest): WorkItem; + getCompletiontoken(): string; + setCompletiontoken(value: string): WorkItem; + + getRequestCase(): WorkItem.RequestCase; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): WorkItem.AsObject; + static toObject(includeInstance: boolean, msg: WorkItem): WorkItem.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: WorkItem, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): WorkItem; + static deserializeBinaryFromReader(message: WorkItem, reader: jspb.BinaryReader): WorkItem; +} + +export namespace WorkItem { + export type AsObject = { + orchestratorrequest?: OrchestratorRequest.AsObject, + activityrequest?: ActivityRequest.AsObject, + entityrequest?: EntityBatchRequest.AsObject, + healthping?: HealthPing.AsObject, + entityrequestv2?: EntityRequest.AsObject, + completiontoken: string, + } + + export enum RequestCase { + REQUEST_NOT_SET = 0, + ORCHESTRATORREQUEST = 1, + ACTIVITYREQUEST = 2, + ENTITYREQUEST = 3, + HEALTHPING = 4, + ENTITYREQUESTV2 = 5, + } + +} + +export class CompleteTaskResponse extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): CompleteTaskResponse.AsObject; + static toObject(includeInstance: boolean, msg: CompleteTaskResponse): CompleteTaskResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: CompleteTaskResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): CompleteTaskResponse; + static deserializeBinaryFromReader(message: CompleteTaskResponse, reader: jspb.BinaryReader): CompleteTaskResponse; +} + +export namespace CompleteTaskResponse { + export type AsObject = { + } +} + +export class HealthPing extends jspb.Message { + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HealthPing.AsObject; + static toObject(includeInstance: boolean, msg: HealthPing): HealthPing.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HealthPing, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HealthPing; + static deserializeBinaryFromReader(message: HealthPing, reader: jspb.BinaryReader): HealthPing; +} + +export namespace HealthPing { + export type AsObject = { + } +} + +export class StreamInstanceHistoryRequest extends jspb.Message { + getInstanceid(): string; + setInstanceid(value: string): StreamInstanceHistoryRequest; + + hasExecutionid(): boolean; + clearExecutionid(): void; + getExecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; + setExecutionid(value?: google_protobuf_wrappers_pb.StringValue): StreamInstanceHistoryRequest; + getForworkitemprocessing(): boolean; + setForworkitemprocessing(value: boolean): StreamInstanceHistoryRequest; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): StreamInstanceHistoryRequest.AsObject; + static toObject(includeInstance: boolean, msg: StreamInstanceHistoryRequest): StreamInstanceHistoryRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: StreamInstanceHistoryRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): StreamInstanceHistoryRequest; + static deserializeBinaryFromReader(message: StreamInstanceHistoryRequest, reader: jspb.BinaryReader): StreamInstanceHistoryRequest; +} + +export namespace StreamInstanceHistoryRequest { + export type AsObject = { + instanceid: string, + executionid?: google_protobuf_wrappers_pb.StringValue.AsObject, + forworkitemprocessing: boolean, + } +} + +export class HistoryChunk extends jspb.Message { + clearEventsList(): void; + getEventsList(): Array; + setEventsList(value: Array): HistoryChunk; + addEvents(value?: HistoryEvent, index?: number): HistoryEvent; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): HistoryChunk.AsObject; + static toObject(includeInstance: boolean, msg: HistoryChunk): HistoryChunk.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: HistoryChunk, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): HistoryChunk; + static deserializeBinaryFromReader(message: HistoryChunk, reader: jspb.BinaryReader): HistoryChunk; +} + +export namespace HistoryChunk { + export type AsObject = { + eventsList: Array, + } +} + +export class InstanceBatch extends jspb.Message { + clearInstanceidsList(): void; + getInstanceidsList(): Array; + setInstanceidsList(value: Array): InstanceBatch; + addInstanceids(value: string, index?: number): string; + + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): InstanceBatch.AsObject; + static toObject(includeInstance: boolean, msg: InstanceBatch): InstanceBatch.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: InstanceBatch, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): InstanceBatch; + static deserializeBinaryFromReader(message: InstanceBatch, reader: jspb.BinaryReader): InstanceBatch; +} + +export namespace InstanceBatch { + export type AsObject = { + instanceidsList: Array, + } +} + +export enum OrchestrationStatus { + ORCHESTRATION_STATUS_RUNNING = 0, + ORCHESTRATION_STATUS_COMPLETED = 1, + ORCHESTRATION_STATUS_CONTINUED_AS_NEW = 2, + ORCHESTRATION_STATUS_FAILED = 3, + ORCHESTRATION_STATUS_CANCELED = 4, + ORCHESTRATION_STATUS_TERMINATED = 5, + ORCHESTRATION_STATUS_PENDING = 6, + ORCHESTRATION_STATUS_SUSPENDED = 7, +} + +export enum WorkerCapability { + WORKER_CAPABILITY_UNSPECIFIED = 0, + WORKER_CAPABILITY_HISTORY_STREAMING = 1, + WORKER_CAPABILITY_SCHEDULED_TASKS = 2, + WORKER_CAPABILITY_LARGE_PAYLOADS = 3, +} diff --git a/packages/durabletask-js/src/proto/orchestrator_service_pb.js b/packages/durabletask-js/src/proto/orchestrator_service_pb.js new file mode 100644 index 0000000..7e27225 --- /dev/null +++ b/packages/durabletask-js/src/proto/orchestrator_service_pb.js @@ -0,0 +1,30255 @@ +// source: orchestrator_service.proto +/** + * @fileoverview + * @enhanceable + * @suppress {missingRequire} reports error on implicit type usages. + * @suppress {messageConventions} JS Compiler reports an error if a variable or + * field starts with 'MSG_' and isn't a translatable message. + * @public + */ +// GENERATED CODE -- DO NOT EDIT! +/* eslint-disable */ +// @ts-nocheck + +var jspb = require('google-protobuf'); +var goog = jspb; +var global = (function() { + if (this) { return this; } + if (typeof window !== 'undefined') { return window; } + if (typeof global !== 'undefined') { return global; } + if (typeof self !== 'undefined') { return self; } + return Function('return this')(); +}.call(null)); + +var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); +goog.object.extend(proto, google_protobuf_timestamp_pb); +var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js'); +goog.object.extend(proto, google_protobuf_duration_pb); +var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js'); +goog.object.extend(proto, google_protobuf_wrappers_pb); +var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js'); +goog.object.extend(proto, google_protobuf_empty_pb); +var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js'); +goog.object.extend(proto, google_protobuf_struct_pb); +goog.exportSymbol('proto.AbandonActivityTaskRequest', null, global); +goog.exportSymbol('proto.AbandonActivityTaskResponse', null, global); +goog.exportSymbol('proto.AbandonEntityTaskRequest', null, global); +goog.exportSymbol('proto.AbandonEntityTaskResponse', null, global); +goog.exportSymbol('proto.AbandonOrchestrationTaskRequest', null, global); +goog.exportSymbol('proto.AbandonOrchestrationTaskResponse', null, global); +goog.exportSymbol('proto.ActivityRequest', null, global); +goog.exportSymbol('proto.ActivityResponse', null, global); +goog.exportSymbol('proto.CleanEntityStorageRequest', null, global); +goog.exportSymbol('proto.CleanEntityStorageResponse', null, global); +goog.exportSymbol('proto.CompleteOrchestrationAction', null, global); +goog.exportSymbol('proto.CompleteTaskResponse', null, global); +goog.exportSymbol('proto.ContinueAsNewEvent', null, global); +goog.exportSymbol('proto.CreateInstanceRequest', null, global); +goog.exportSymbol('proto.CreateInstanceResponse', null, global); +goog.exportSymbol('proto.CreateSubOrchestrationAction', null, global); +goog.exportSymbol('proto.CreateTaskHubRequest', null, global); +goog.exportSymbol('proto.CreateTaskHubResponse', null, global); +goog.exportSymbol('proto.CreateTimerAction', null, global); +goog.exportSymbol('proto.DeleteTaskHubRequest', null, global); +goog.exportSymbol('proto.DeleteTaskHubResponse', null, global); +goog.exportSymbol('proto.EntityBatchRequest', null, global); +goog.exportSymbol('proto.EntityBatchResult', null, global); +goog.exportSymbol('proto.EntityLockGrantedEvent', null, global); +goog.exportSymbol('proto.EntityLockRequestedEvent', null, global); +goog.exportSymbol('proto.EntityMetadata', null, global); +goog.exportSymbol('proto.EntityOperationCalledEvent', null, global); +goog.exportSymbol('proto.EntityOperationCompletedEvent', null, global); +goog.exportSymbol('proto.EntityOperationFailedEvent', null, global); +goog.exportSymbol('proto.EntityOperationSignaledEvent', null, global); +goog.exportSymbol('proto.EntityQuery', null, global); +goog.exportSymbol('proto.EntityRequest', null, global); +goog.exportSymbol('proto.EntityUnlockSentEvent', null, global); +goog.exportSymbol('proto.EventRaisedEvent', null, global); +goog.exportSymbol('proto.EventSentEvent', null, global); +goog.exportSymbol('proto.ExecutionCompletedEvent', null, global); +goog.exportSymbol('proto.ExecutionResumedEvent', null, global); +goog.exportSymbol('proto.ExecutionRewoundEvent', null, global); +goog.exportSymbol('proto.ExecutionStartedEvent', null, global); +goog.exportSymbol('proto.ExecutionSuspendedEvent', null, global); +goog.exportSymbol('proto.ExecutionTerminatedEvent', null, global); +goog.exportSymbol('proto.GenericEvent', null, global); +goog.exportSymbol('proto.GetEntityRequest', null, global); +goog.exportSymbol('proto.GetEntityResponse', null, global); +goog.exportSymbol('proto.GetInstanceRequest', null, global); +goog.exportSymbol('proto.GetInstanceResponse', null, global); +goog.exportSymbol('proto.GetWorkItemsRequest', null, global); +goog.exportSymbol('proto.HealthPing', null, global); +goog.exportSymbol('proto.HistoryChunk', null, global); +goog.exportSymbol('proto.HistoryEvent', null, global); +goog.exportSymbol('proto.HistoryEvent.EventtypeCase', null, global); +goog.exportSymbol('proto.HistoryStateEvent', null, global); +goog.exportSymbol('proto.InstanceBatch', null, global); +goog.exportSymbol('proto.InstanceQuery', null, global); +goog.exportSymbol('proto.ListInstanceIdsRequest', null, global); +goog.exportSymbol('proto.ListInstanceIdsResponse', null, global); +goog.exportSymbol('proto.OperationAction', null, global); +goog.exportSymbol('proto.OperationAction.OperationactiontypeCase', null, global); +goog.exportSymbol('proto.OperationInfo', null, global); +goog.exportSymbol('proto.OperationRequest', null, global); +goog.exportSymbol('proto.OperationResult', null, global); +goog.exportSymbol('proto.OperationResult.ResulttypeCase', null, global); +goog.exportSymbol('proto.OperationResultFailure', null, global); +goog.exportSymbol('proto.OperationResultSuccess', null, global); +goog.exportSymbol('proto.OrchestrationIdReusePolicy', null, global); +goog.exportSymbol('proto.OrchestrationInstance', null, global); +goog.exportSymbol('proto.OrchestrationState', null, global); +goog.exportSymbol('proto.OrchestrationStatus', null, global); +goog.exportSymbol('proto.OrchestrationTraceContext', null, global); +goog.exportSymbol('proto.OrchestratorAction', null, global); +goog.exportSymbol('proto.OrchestratorAction.OrchestratoractiontypeCase', null, global); +goog.exportSymbol('proto.OrchestratorCompletedEvent', null, global); +goog.exportSymbol('proto.OrchestratorEntityParameters', null, global); +goog.exportSymbol('proto.OrchestratorRequest', null, global); +goog.exportSymbol('proto.OrchestratorResponse', null, global); +goog.exportSymbol('proto.OrchestratorStartedEvent', null, global); +goog.exportSymbol('proto.ParentInstanceInfo', null, global); +goog.exportSymbol('proto.PurgeInstanceFilter', null, global); +goog.exportSymbol('proto.PurgeInstancesRequest', null, global); +goog.exportSymbol('proto.PurgeInstancesRequest.RequestCase', null, global); +goog.exportSymbol('proto.PurgeInstancesResponse', null, global); +goog.exportSymbol('proto.QueryEntitiesRequest', null, global); +goog.exportSymbol('proto.QueryEntitiesResponse', null, global); +goog.exportSymbol('proto.QueryInstancesRequest', null, global); +goog.exportSymbol('proto.QueryInstancesResponse', null, global); +goog.exportSymbol('proto.RaiseEventRequest', null, global); +goog.exportSymbol('proto.RaiseEventResponse', null, global); +goog.exportSymbol('proto.RestartInstanceRequest', null, global); +goog.exportSymbol('proto.RestartInstanceResponse', null, global); +goog.exportSymbol('proto.ResumeRequest', null, global); +goog.exportSymbol('proto.ResumeResponse', null, global); +goog.exportSymbol('proto.RewindInstanceRequest', null, global); +goog.exportSymbol('proto.RewindInstanceResponse', null, global); +goog.exportSymbol('proto.ScheduleTaskAction', null, global); +goog.exportSymbol('proto.SendEntityMessageAction', null, global); +goog.exportSymbol('proto.SendEntityMessageAction.EntitymessagetypeCase', null, global); +goog.exportSymbol('proto.SendEventAction', null, global); +goog.exportSymbol('proto.SendSignalAction', null, global); +goog.exportSymbol('proto.SignalEntityRequest', null, global); +goog.exportSymbol('proto.SignalEntityResponse', null, global); +goog.exportSymbol('proto.SkipGracefulOrchestrationTerminationsRequest', null, global); +goog.exportSymbol('proto.SkipGracefulOrchestrationTerminationsResponse', null, global); +goog.exportSymbol('proto.StartNewOrchestrationAction', null, global); +goog.exportSymbol('proto.StreamInstanceHistoryRequest', null, global); +goog.exportSymbol('proto.SubOrchestrationInstanceCompletedEvent', null, global); +goog.exportSymbol('proto.SubOrchestrationInstanceCreatedEvent', null, global); +goog.exportSymbol('proto.SubOrchestrationInstanceFailedEvent', null, global); +goog.exportSymbol('proto.SuspendRequest', null, global); +goog.exportSymbol('proto.SuspendResponse', null, global); +goog.exportSymbol('proto.TaskCompletedEvent', null, global); +goog.exportSymbol('proto.TaskFailedEvent', null, global); +goog.exportSymbol('proto.TaskFailureDetails', null, global); +goog.exportSymbol('proto.TaskScheduledEvent', null, global); +goog.exportSymbol('proto.TerminateOrchestrationAction', null, global); +goog.exportSymbol('proto.TerminateRequest', null, global); +goog.exportSymbol('proto.TerminateResponse', null, global); +goog.exportSymbol('proto.TimerCreatedEvent', null, global); +goog.exportSymbol('proto.TimerFiredEvent', null, global); +goog.exportSymbol('proto.TraceContext', null, global); +goog.exportSymbol('proto.WorkItem', null, global); +goog.exportSymbol('proto.WorkItem.RequestCase', null, global); +goog.exportSymbol('proto.WorkerCapability', null, global); +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestrationInstance = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OrchestrationInstance, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestrationInstance.displayName = 'proto.OrchestrationInstance'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ActivityRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ActivityRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ActivityRequest.displayName = 'proto.ActivityRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ActivityResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ActivityResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ActivityResponse.displayName = 'proto.ActivityResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TaskFailureDetails = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TaskFailureDetails, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TaskFailureDetails.displayName = 'proto.TaskFailureDetails'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ParentInstanceInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ParentInstanceInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ParentInstanceInfo.displayName = 'proto.ParentInstanceInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TraceContext = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TraceContext, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TraceContext.displayName = 'proto.TraceContext'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ExecutionStartedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ExecutionStartedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ExecutionStartedEvent.displayName = 'proto.ExecutionStartedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ExecutionCompletedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ExecutionCompletedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ExecutionCompletedEvent.displayName = 'proto.ExecutionCompletedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ExecutionTerminatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ExecutionTerminatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ExecutionTerminatedEvent.displayName = 'proto.ExecutionTerminatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TaskScheduledEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TaskScheduledEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TaskScheduledEvent.displayName = 'proto.TaskScheduledEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TaskCompletedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TaskCompletedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TaskCompletedEvent.displayName = 'proto.TaskCompletedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TaskFailedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TaskFailedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TaskFailedEvent.displayName = 'proto.TaskFailedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SubOrchestrationInstanceCreatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SubOrchestrationInstanceCreatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SubOrchestrationInstanceCreatedEvent.displayName = 'proto.SubOrchestrationInstanceCreatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SubOrchestrationInstanceCompletedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SubOrchestrationInstanceCompletedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SubOrchestrationInstanceCompletedEvent.displayName = 'proto.SubOrchestrationInstanceCompletedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SubOrchestrationInstanceFailedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SubOrchestrationInstanceFailedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SubOrchestrationInstanceFailedEvent.displayName = 'proto.SubOrchestrationInstanceFailedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TimerCreatedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TimerCreatedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TimerCreatedEvent.displayName = 'proto.TimerCreatedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TimerFiredEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TimerFiredEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TimerFiredEvent.displayName = 'proto.TimerFiredEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestratorStartedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OrchestratorStartedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestratorStartedEvent.displayName = 'proto.OrchestratorStartedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestratorCompletedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OrchestratorCompletedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestratorCompletedEvent.displayName = 'proto.OrchestratorCompletedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EventSentEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EventSentEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EventSentEvent.displayName = 'proto.EventSentEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EventRaisedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EventRaisedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EventRaisedEvent.displayName = 'proto.EventRaisedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.GenericEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.GenericEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.GenericEvent.displayName = 'proto.GenericEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.HistoryStateEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.HistoryStateEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.HistoryStateEvent.displayName = 'proto.HistoryStateEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ContinueAsNewEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ContinueAsNewEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ContinueAsNewEvent.displayName = 'proto.ContinueAsNewEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ExecutionSuspendedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ExecutionSuspendedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ExecutionSuspendedEvent.displayName = 'proto.ExecutionSuspendedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ExecutionResumedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ExecutionResumedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ExecutionResumedEvent.displayName = 'proto.ExecutionResumedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityOperationSignaledEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EntityOperationSignaledEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityOperationSignaledEvent.displayName = 'proto.EntityOperationSignaledEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityOperationCalledEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EntityOperationCalledEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityOperationCalledEvent.displayName = 'proto.EntityOperationCalledEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityLockRequestedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.EntityLockRequestedEvent.repeatedFields_, null); +}; +goog.inherits(proto.EntityLockRequestedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityLockRequestedEvent.displayName = 'proto.EntityLockRequestedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityOperationCompletedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EntityOperationCompletedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityOperationCompletedEvent.displayName = 'proto.EntityOperationCompletedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityOperationFailedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EntityOperationFailedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityOperationFailedEvent.displayName = 'proto.EntityOperationFailedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityUnlockSentEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EntityUnlockSentEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityUnlockSentEvent.displayName = 'proto.EntityUnlockSentEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityLockGrantedEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EntityLockGrantedEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityLockGrantedEvent.displayName = 'proto.EntityLockGrantedEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ExecutionRewoundEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ExecutionRewoundEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ExecutionRewoundEvent.displayName = 'proto.ExecutionRewoundEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.HistoryEvent = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.HistoryEvent.oneofGroups_); +}; +goog.inherits(proto.HistoryEvent, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.HistoryEvent.displayName = 'proto.HistoryEvent'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ScheduleTaskAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ScheduleTaskAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ScheduleTaskAction.displayName = 'proto.ScheduleTaskAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CreateSubOrchestrationAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CreateSubOrchestrationAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CreateSubOrchestrationAction.displayName = 'proto.CreateSubOrchestrationAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CreateTimerAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CreateTimerAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CreateTimerAction.displayName = 'proto.CreateTimerAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SendEventAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SendEventAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SendEventAction.displayName = 'proto.SendEventAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CompleteOrchestrationAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.CompleteOrchestrationAction.repeatedFields_, null); +}; +goog.inherits(proto.CompleteOrchestrationAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CompleteOrchestrationAction.displayName = 'proto.CompleteOrchestrationAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TerminateOrchestrationAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TerminateOrchestrationAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TerminateOrchestrationAction.displayName = 'proto.TerminateOrchestrationAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SendEntityMessageAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.SendEntityMessageAction.oneofGroups_); +}; +goog.inherits(proto.SendEntityMessageAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SendEntityMessageAction.displayName = 'proto.SendEntityMessageAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestratorAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.OrchestratorAction.oneofGroups_); +}; +goog.inherits(proto.OrchestratorAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestratorAction.displayName = 'proto.OrchestratorAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestrationTraceContext = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OrchestrationTraceContext, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestrationTraceContext.displayName = 'proto.OrchestrationTraceContext'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestratorRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.OrchestratorRequest.repeatedFields_, null); +}; +goog.inherits(proto.OrchestratorRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestratorRequest.displayName = 'proto.OrchestratorRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestratorResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.OrchestratorResponse.repeatedFields_, null); +}; +goog.inherits(proto.OrchestratorResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestratorResponse.displayName = 'proto.OrchestratorResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CreateInstanceRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CreateInstanceRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CreateInstanceRequest.displayName = 'proto.CreateInstanceRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestrationIdReusePolicy = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.OrchestrationIdReusePolicy.repeatedFields_, null); +}; +goog.inherits(proto.OrchestrationIdReusePolicy, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestrationIdReusePolicy.displayName = 'proto.OrchestrationIdReusePolicy'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CreateInstanceResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CreateInstanceResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CreateInstanceResponse.displayName = 'proto.CreateInstanceResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.GetInstanceRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.GetInstanceRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.GetInstanceRequest.displayName = 'proto.GetInstanceRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.GetInstanceResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.GetInstanceResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.GetInstanceResponse.displayName = 'proto.GetInstanceResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.RewindInstanceRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.RewindInstanceRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.RewindInstanceRequest.displayName = 'proto.RewindInstanceRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.RewindInstanceResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.RewindInstanceResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.RewindInstanceResponse.displayName = 'proto.RewindInstanceResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestrationState = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OrchestrationState, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestrationState.displayName = 'proto.OrchestrationState'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.RaiseEventRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.RaiseEventRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.RaiseEventRequest.displayName = 'proto.RaiseEventRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.RaiseEventResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.RaiseEventResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.RaiseEventResponse.displayName = 'proto.RaiseEventResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TerminateRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TerminateRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TerminateRequest.displayName = 'proto.TerminateRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.TerminateResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.TerminateResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.TerminateResponse.displayName = 'proto.TerminateResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SuspendRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SuspendRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SuspendRequest.displayName = 'proto.SuspendRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SuspendResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SuspendResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SuspendResponse.displayName = 'proto.SuspendResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ResumeRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ResumeRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ResumeRequest.displayName = 'proto.ResumeRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ResumeResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.ResumeResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ResumeResponse.displayName = 'proto.ResumeResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.QueryInstancesRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.QueryInstancesRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.QueryInstancesRequest.displayName = 'proto.QueryInstancesRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.InstanceQuery = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.InstanceQuery.repeatedFields_, null); +}; +goog.inherits(proto.InstanceQuery, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.InstanceQuery.displayName = 'proto.InstanceQuery'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.QueryInstancesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.QueryInstancesResponse.repeatedFields_, null); +}; +goog.inherits(proto.QueryInstancesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.QueryInstancesResponse.displayName = 'proto.QueryInstancesResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ListInstanceIdsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ListInstanceIdsRequest.repeatedFields_, null); +}; +goog.inherits(proto.ListInstanceIdsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ListInstanceIdsRequest.displayName = 'proto.ListInstanceIdsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.ListInstanceIdsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.ListInstanceIdsResponse.repeatedFields_, null); +}; +goog.inherits(proto.ListInstanceIdsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.ListInstanceIdsResponse.displayName = 'proto.ListInstanceIdsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.PurgeInstancesRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.PurgeInstancesRequest.oneofGroups_); +}; +goog.inherits(proto.PurgeInstancesRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.PurgeInstancesRequest.displayName = 'proto.PurgeInstancesRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.PurgeInstanceFilter = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.PurgeInstanceFilter.repeatedFields_, null); +}; +goog.inherits(proto.PurgeInstanceFilter, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.PurgeInstanceFilter.displayName = 'proto.PurgeInstanceFilter'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.PurgeInstancesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.PurgeInstancesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.PurgeInstancesResponse.displayName = 'proto.PurgeInstancesResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.RestartInstanceRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.RestartInstanceRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.RestartInstanceRequest.displayName = 'proto.RestartInstanceRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.RestartInstanceResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.RestartInstanceResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.RestartInstanceResponse.displayName = 'proto.RestartInstanceResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CreateTaskHubRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CreateTaskHubRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CreateTaskHubRequest.displayName = 'proto.CreateTaskHubRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CreateTaskHubResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CreateTaskHubResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CreateTaskHubResponse.displayName = 'proto.CreateTaskHubResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.DeleteTaskHubRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.DeleteTaskHubRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.DeleteTaskHubRequest.displayName = 'proto.DeleteTaskHubRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.DeleteTaskHubResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.DeleteTaskHubResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.DeleteTaskHubResponse.displayName = 'proto.DeleteTaskHubResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SignalEntityRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SignalEntityRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SignalEntityRequest.displayName = 'proto.SignalEntityRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SignalEntityResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SignalEntityResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SignalEntityResponse.displayName = 'proto.SignalEntityResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.GetEntityRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.GetEntityRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.GetEntityRequest.displayName = 'proto.GetEntityRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.GetEntityResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.GetEntityResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.GetEntityResponse.displayName = 'proto.GetEntityResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityQuery = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EntityQuery, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityQuery.displayName = 'proto.EntityQuery'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.QueryEntitiesRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.QueryEntitiesRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.QueryEntitiesRequest.displayName = 'proto.QueryEntitiesRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.QueryEntitiesResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.QueryEntitiesResponse.repeatedFields_, null); +}; +goog.inherits(proto.QueryEntitiesResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.QueryEntitiesResponse.displayName = 'proto.QueryEntitiesResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityMetadata = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.EntityMetadata, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityMetadata.displayName = 'proto.EntityMetadata'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CleanEntityStorageRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CleanEntityStorageRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CleanEntityStorageRequest.displayName = 'proto.CleanEntityStorageRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CleanEntityStorageResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CleanEntityStorageResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CleanEntityStorageResponse.displayName = 'proto.CleanEntityStorageResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OrchestratorEntityParameters = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OrchestratorEntityParameters, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OrchestratorEntityParameters.displayName = 'proto.OrchestratorEntityParameters'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityBatchRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.EntityBatchRequest.repeatedFields_, null); +}; +goog.inherits(proto.EntityBatchRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityBatchRequest.displayName = 'proto.EntityBatchRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityBatchResult = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.EntityBatchResult.repeatedFields_, null); +}; +goog.inherits(proto.EntityBatchResult, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityBatchResult.displayName = 'proto.EntityBatchResult'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.EntityRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.EntityRequest.repeatedFields_, null); +}; +goog.inherits(proto.EntityRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.EntityRequest.displayName = 'proto.EntityRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OperationRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OperationRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OperationRequest.displayName = 'proto.OperationRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OperationResult = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.OperationResult.oneofGroups_); +}; +goog.inherits(proto.OperationResult, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OperationResult.displayName = 'proto.OperationResult'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OperationInfo = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OperationInfo, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OperationInfo.displayName = 'proto.OperationInfo'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OperationResultSuccess = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OperationResultSuccess, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OperationResultSuccess.displayName = 'proto.OperationResultSuccess'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OperationResultFailure = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.OperationResultFailure, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OperationResultFailure.displayName = 'proto.OperationResultFailure'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.OperationAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.OperationAction.oneofGroups_); +}; +goog.inherits(proto.OperationAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.OperationAction.displayName = 'proto.OperationAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SendSignalAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SendSignalAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SendSignalAction.displayName = 'proto.SendSignalAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.StartNewOrchestrationAction = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.StartNewOrchestrationAction, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.StartNewOrchestrationAction.displayName = 'proto.StartNewOrchestrationAction'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.AbandonActivityTaskRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.AbandonActivityTaskRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.AbandonActivityTaskRequest.displayName = 'proto.AbandonActivityTaskRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.AbandonActivityTaskResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.AbandonActivityTaskResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.AbandonActivityTaskResponse.displayName = 'proto.AbandonActivityTaskResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.AbandonOrchestrationTaskRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.AbandonOrchestrationTaskRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.AbandonOrchestrationTaskRequest.displayName = 'proto.AbandonOrchestrationTaskRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.AbandonOrchestrationTaskResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.AbandonOrchestrationTaskResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.AbandonOrchestrationTaskResponse.displayName = 'proto.AbandonOrchestrationTaskResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.AbandonEntityTaskRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.AbandonEntityTaskRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.AbandonEntityTaskRequest.displayName = 'proto.AbandonEntityTaskRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.AbandonEntityTaskResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.AbandonEntityTaskResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.AbandonEntityTaskResponse.displayName = 'proto.AbandonEntityTaskResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SkipGracefulOrchestrationTerminationsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.SkipGracefulOrchestrationTerminationsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SkipGracefulOrchestrationTerminationsRequest.displayName = 'proto.SkipGracefulOrchestrationTerminationsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.SkipGracefulOrchestrationTerminationsResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.SkipGracefulOrchestrationTerminationsResponse.repeatedFields_, null); +}; +goog.inherits(proto.SkipGracefulOrchestrationTerminationsResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.SkipGracefulOrchestrationTerminationsResponse.displayName = 'proto.SkipGracefulOrchestrationTerminationsResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.GetWorkItemsRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.GetWorkItemsRequest.repeatedFields_, null); +}; +goog.inherits(proto.GetWorkItemsRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.GetWorkItemsRequest.displayName = 'proto.GetWorkItemsRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.WorkItem = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.WorkItem.oneofGroups_); +}; +goog.inherits(proto.WorkItem, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.WorkItem.displayName = 'proto.WorkItem'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.CompleteTaskResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.CompleteTaskResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.CompleteTaskResponse.displayName = 'proto.CompleteTaskResponse'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.HealthPing = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.HealthPing, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.HealthPing.displayName = 'proto.HealthPing'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.StreamInstanceHistoryRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.StreamInstanceHistoryRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.StreamInstanceHistoryRequest.displayName = 'proto.StreamInstanceHistoryRequest'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.HistoryChunk = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.HistoryChunk.repeatedFields_, null); +}; +goog.inherits(proto.HistoryChunk, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.HistoryChunk.displayName = 'proto.HistoryChunk'; +} +/** + * Generated by JsPbCodeGenerator. + * @param {Array=} opt_data Optional initial data array, typically from a + * server response, or constructed directly in Javascript. The array is used + * in place and becomes part of the constructed object. It is not cloned. + * If no data is provided, the constructed object will be empty, but still + * valid. + * @extends {jspb.Message} + * @constructor + */ +proto.InstanceBatch = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, proto.InstanceBatch.repeatedFields_, null); +}; +goog.inherits(proto.InstanceBatch, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.InstanceBatch.displayName = 'proto.InstanceBatch'; +} + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestrationInstance.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestrationInstance.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestrationInstance} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestrationInstance.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + executionid: (f = msg.getExecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestrationInstance} + */ +proto.OrchestrationInstance.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestrationInstance; + return proto.OrchestrationInstance.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestrationInstance} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestrationInstance} + */ +proto.OrchestrationInstance.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setExecutionid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestrationInstance.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestrationInstance.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestrationInstance} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestrationInstance.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getExecutionid(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.OrchestrationInstance.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OrchestrationInstance} returns this + */ +proto.OrchestrationInstance.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue executionId = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestrationInstance.prototype.getExecutionid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestrationInstance} returns this +*/ +proto.OrchestrationInstance.prototype.setExecutionid = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationInstance} returns this + */ +proto.OrchestrationInstance.prototype.clearExecutionid = function() { + return this.setExecutionid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationInstance.prototype.hasExecutionid = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ActivityRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ActivityRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ActivityRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ActivityRequest.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + orchestrationinstance: (f = msg.getOrchestrationinstance()) && proto.OrchestrationInstance.toObject(includeInstance, f), + taskid: jspb.Message.getFieldWithDefault(msg, 5, 0), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ActivityRequest} + */ +proto.ActivityRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ActivityRequest; + return proto.ActivityRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ActivityRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ActivityRequest} + */ +proto.ActivityRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 4: + var value = new proto.OrchestrationInstance; + reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); + msg.setOrchestrationinstance(value); + break; + case 5: + var value = /** @type {number} */ (reader.readInt32()); + msg.setTaskid(value); + break; + case 6: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ActivityRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ActivityRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ActivityRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ActivityRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getOrchestrationinstance(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.OrchestrationInstance.serializeBinaryToWriter + ); + } + f = message.getTaskid(); + if (f !== 0) { + writer.writeInt32( + 5, + f + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.ActivityRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ActivityRequest} returns this + */ +proto.ActivityRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue version = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ActivityRequest.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ActivityRequest} returns this +*/ +proto.ActivityRequest.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ActivityRequest} returns this + */ +proto.ActivityRequest.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ActivityRequest.prototype.hasVersion = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ActivityRequest.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ActivityRequest} returns this +*/ +proto.ActivityRequest.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ActivityRequest} returns this + */ +proto.ActivityRequest.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ActivityRequest.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional OrchestrationInstance orchestrationInstance = 4; + * @return {?proto.OrchestrationInstance} + */ +proto.ActivityRequest.prototype.getOrchestrationinstance = function() { + return /** @type{?proto.OrchestrationInstance} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 4)); +}; + + +/** + * @param {?proto.OrchestrationInstance|undefined} value + * @return {!proto.ActivityRequest} returns this +*/ +proto.ActivityRequest.prototype.setOrchestrationinstance = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ActivityRequest} returns this + */ +proto.ActivityRequest.prototype.clearOrchestrationinstance = function() { + return this.setOrchestrationinstance(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ActivityRequest.prototype.hasOrchestrationinstance = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional int32 taskId = 5; + * @return {number} + */ +proto.ActivityRequest.prototype.getTaskid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ActivityRequest} returns this + */ +proto.ActivityRequest.prototype.setTaskid = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional TraceContext parentTraceContext = 6; + * @return {?proto.TraceContext} + */ +proto.ActivityRequest.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 6)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.ActivityRequest} returns this +*/ +proto.ActivityRequest.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ActivityRequest} returns this + */ +proto.ActivityRequest.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ActivityRequest.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ActivityResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ActivityResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ActivityResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ActivityResponse.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + taskid: jspb.Message.getFieldWithDefault(msg, 2, 0), + result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f), + completiontoken: jspb.Message.getFieldWithDefault(msg, 5, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ActivityResponse} + */ +proto.ActivityResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ActivityResponse; + return proto.ActivityResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ActivityResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ActivityResponse} + */ +proto.ActivityResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setTaskid(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setResult(value); + break; + case 4: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setCompletiontoken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ActivityResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ActivityResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ActivityResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ActivityResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getTaskid(); + if (f !== 0) { + writer.writeInt32( + 2, + f + ); + } + f = message.getResult(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } + f = message.getCompletiontoken(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.ActivityResponse.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ActivityResponse} returns this + */ +proto.ActivityResponse.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional int32 taskId = 2; + * @return {number} + */ +proto.ActivityResponse.prototype.getTaskid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ActivityResponse} returns this + */ +proto.ActivityResponse.prototype.setTaskid = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue result = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ActivityResponse.prototype.getResult = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ActivityResponse} returns this +*/ +proto.ActivityResponse.prototype.setResult = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ActivityResponse} returns this + */ +proto.ActivityResponse.prototype.clearResult = function() { + return this.setResult(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ActivityResponse.prototype.hasResult = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional TaskFailureDetails failureDetails = 4; + * @return {?proto.TaskFailureDetails} + */ +proto.ActivityResponse.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 4)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.ActivityResponse} returns this +*/ +proto.ActivityResponse.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ActivityResponse} returns this + */ +proto.ActivityResponse.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ActivityResponse.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string completionToken = 5; + * @return {string} + */ +proto.ActivityResponse.prototype.getCompletiontoken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ActivityResponse} returns this + */ +proto.ActivityResponse.prototype.setCompletiontoken = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TaskFailureDetails.prototype.toObject = function(opt_includeInstance) { + return proto.TaskFailureDetails.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TaskFailureDetails} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TaskFailureDetails.toObject = function(includeInstance, msg) { + var f, obj = { + errortype: jspb.Message.getFieldWithDefault(msg, 1, ""), + errormessage: jspb.Message.getFieldWithDefault(msg, 2, ""), + stacktrace: (f = msg.getStacktrace()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + innerfailure: (f = msg.getInnerfailure()) && proto.TaskFailureDetails.toObject(includeInstance, f), + isnonretriable: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TaskFailureDetails} + */ +proto.TaskFailureDetails.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TaskFailureDetails; + return proto.TaskFailureDetails.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TaskFailureDetails} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TaskFailureDetails} + */ +proto.TaskFailureDetails.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setErrortype(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setErrormessage(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setStacktrace(value); + break; + case 4: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setInnerfailure(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsnonretriable(value); + break; + case 6: + var value = msg.getPropertiesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TaskFailureDetails.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TaskFailureDetails.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TaskFailureDetails} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TaskFailureDetails.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getErrortype(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getErrormessage(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getStacktrace(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInnerfailure(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } + f = message.getIsnonretriable(); + if (f) { + writer.writeBool( + 5, + f + ); + } + f = message.getPropertiesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string errorType = 1; + * @return {string} + */ +proto.TaskFailureDetails.prototype.getErrortype = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.TaskFailureDetails} returns this + */ +proto.TaskFailureDetails.prototype.setErrortype = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string errorMessage = 2; + * @return {string} + */ +proto.TaskFailureDetails.prototype.getErrormessage = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.TaskFailureDetails} returns this + */ +proto.TaskFailureDetails.prototype.setErrormessage = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue stackTrace = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.TaskFailureDetails.prototype.getStacktrace = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.TaskFailureDetails} returns this +*/ +proto.TaskFailureDetails.prototype.setStacktrace = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TaskFailureDetails} returns this + */ +proto.TaskFailureDetails.prototype.clearStacktrace = function() { + return this.setStacktrace(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TaskFailureDetails.prototype.hasStacktrace = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional TaskFailureDetails innerFailure = 4; + * @return {?proto.TaskFailureDetails} + */ +proto.TaskFailureDetails.prototype.getInnerfailure = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 4)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.TaskFailureDetails} returns this +*/ +proto.TaskFailureDetails.prototype.setInnerfailure = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TaskFailureDetails} returns this + */ +proto.TaskFailureDetails.prototype.clearInnerfailure = function() { + return this.setInnerfailure(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TaskFailureDetails.prototype.hasInnerfailure = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool isNonRetriable = 5; + * @return {boolean} + */ +proto.TaskFailureDetails.prototype.getIsnonretriable = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.TaskFailureDetails} returns this + */ +proto.TaskFailureDetails.prototype.setIsnonretriable = function(value) { + return jspb.Message.setProto3BooleanField(this, 5, value); +}; + + +/** + * map properties = 6; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.TaskFailureDetails.prototype.getPropertiesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 6, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.TaskFailureDetails} returns this + */ +proto.TaskFailureDetails.prototype.clearPropertiesMap = function() { + this.getPropertiesMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ParentInstanceInfo.prototype.toObject = function(opt_includeInstance) { + return proto.ParentInstanceInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ParentInstanceInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ParentInstanceInfo.toObject = function(includeInstance, msg) { + var f, obj = { + taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), + name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + orchestrationinstance: (f = msg.getOrchestrationinstance()) && proto.OrchestrationInstance.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ParentInstanceInfo} + */ +proto.ParentInstanceInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ParentInstanceInfo; + return proto.ParentInstanceInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ParentInstanceInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ParentInstanceInfo} + */ +proto.ParentInstanceInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setTaskscheduledid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 4: + var value = new proto.OrchestrationInstance; + reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); + msg.setOrchestrationinstance(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ParentInstanceInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ParentInstanceInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ParentInstanceInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ParentInstanceInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTaskscheduledid(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getName(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getOrchestrationinstance(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.OrchestrationInstance.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 taskScheduledId = 1; + * @return {number} + */ +proto.ParentInstanceInfo.prototype.getTaskscheduledid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ParentInstanceInfo} returns this + */ +proto.ParentInstanceInfo.prototype.setTaskscheduledid = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue name = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ParentInstanceInfo.prototype.getName = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ParentInstanceInfo} returns this +*/ +proto.ParentInstanceInfo.prototype.setName = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ParentInstanceInfo} returns this + */ +proto.ParentInstanceInfo.prototype.clearName = function() { + return this.setName(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ParentInstanceInfo.prototype.hasName = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.StringValue version = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ParentInstanceInfo.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ParentInstanceInfo} returns this +*/ +proto.ParentInstanceInfo.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ParentInstanceInfo} returns this + */ +proto.ParentInstanceInfo.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ParentInstanceInfo.prototype.hasVersion = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional OrchestrationInstance orchestrationInstance = 4; + * @return {?proto.OrchestrationInstance} + */ +proto.ParentInstanceInfo.prototype.getOrchestrationinstance = function() { + return /** @type{?proto.OrchestrationInstance} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 4)); +}; + + +/** + * @param {?proto.OrchestrationInstance|undefined} value + * @return {!proto.ParentInstanceInfo} returns this +*/ +proto.ParentInstanceInfo.prototype.setOrchestrationinstance = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ParentInstanceInfo} returns this + */ +proto.ParentInstanceInfo.prototype.clearOrchestrationinstance = function() { + return this.setOrchestrationinstance(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ParentInstanceInfo.prototype.hasOrchestrationinstance = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TraceContext.prototype.toObject = function(opt_includeInstance) { + return proto.TraceContext.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TraceContext} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TraceContext.toObject = function(includeInstance, msg) { + var f, obj = { + traceparent: jspb.Message.getFieldWithDefault(msg, 1, ""), + spanid: jspb.Message.getFieldWithDefault(msg, 2, ""), + tracestate: (f = msg.getTracestate()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TraceContext} + */ +proto.TraceContext.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TraceContext; + return proto.TraceContext.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TraceContext} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TraceContext} + */ +proto.TraceContext.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setTraceparent(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setSpanid(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setTracestate(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TraceContext.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TraceContext.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TraceContext} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TraceContext.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTraceparent(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getSpanid(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getTracestate(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string traceParent = 1; + * @return {string} + */ +proto.TraceContext.prototype.getTraceparent = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.TraceContext} returns this + */ +proto.TraceContext.prototype.setTraceparent = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string spanID = 2; + * @return {string} + */ +proto.TraceContext.prototype.getSpanid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.TraceContext} returns this + */ +proto.TraceContext.prototype.setSpanid = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue traceState = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.TraceContext.prototype.getTracestate = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.TraceContext} returns this +*/ +proto.TraceContext.prototype.setTracestate = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TraceContext} returns this + */ +proto.TraceContext.prototype.clearTracestate = function() { + return this.setTracestate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TraceContext.prototype.hasTracestate = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ExecutionStartedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.ExecutionStartedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ExecutionStartedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionStartedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + orchestrationinstance: (f = msg.getOrchestrationinstance()) && proto.OrchestrationInstance.toObject(includeInstance, f), + parentinstance: (f = msg.getParentinstance()) && proto.ParentInstanceInfo.toObject(includeInstance, f), + scheduledstarttimestamp: (f = msg.getScheduledstarttimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f), + orchestrationspanid: (f = msg.getOrchestrationspanid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ExecutionStartedEvent} + */ +proto.ExecutionStartedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ExecutionStartedEvent; + return proto.ExecutionStartedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ExecutionStartedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ExecutionStartedEvent} + */ +proto.ExecutionStartedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 4: + var value = new proto.OrchestrationInstance; + reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); + msg.setOrchestrationinstance(value); + break; + case 5: + var value = new proto.ParentInstanceInfo; + reader.readMessage(value,proto.ParentInstanceInfo.deserializeBinaryFromReader); + msg.setParentinstance(value); + break; + case 6: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setScheduledstarttimestamp(value); + break; + case 7: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + case 8: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setOrchestrationspanid(value); + break; + case 9: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ExecutionStartedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ExecutionStartedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ExecutionStartedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionStartedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getOrchestrationinstance(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.OrchestrationInstance.serializeBinaryToWriter + ); + } + f = message.getParentinstance(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.ParentInstanceInfo.serializeBinaryToWriter + ); + } + f = message.getScheduledstarttimestamp(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } + f = message.getOrchestrationspanid(); + if (f != null) { + writer.writeMessage( + 8, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.ExecutionStartedEvent.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue version = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionStartedEvent.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionStartedEvent} returns this +*/ +proto.ExecutionStartedEvent.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionStartedEvent.prototype.hasVersion = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionStartedEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionStartedEvent} returns this +*/ +proto.ExecutionStartedEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionStartedEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional OrchestrationInstance orchestrationInstance = 4; + * @return {?proto.OrchestrationInstance} + */ +proto.ExecutionStartedEvent.prototype.getOrchestrationinstance = function() { + return /** @type{?proto.OrchestrationInstance} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 4)); +}; + + +/** + * @param {?proto.OrchestrationInstance|undefined} value + * @return {!proto.ExecutionStartedEvent} returns this +*/ +proto.ExecutionStartedEvent.prototype.setOrchestrationinstance = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.clearOrchestrationinstance = function() { + return this.setOrchestrationinstance(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionStartedEvent.prototype.hasOrchestrationinstance = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional ParentInstanceInfo parentInstance = 5; + * @return {?proto.ParentInstanceInfo} + */ +proto.ExecutionStartedEvent.prototype.getParentinstance = function() { + return /** @type{?proto.ParentInstanceInfo} */ ( + jspb.Message.getWrapperField(this, proto.ParentInstanceInfo, 5)); +}; + + +/** + * @param {?proto.ParentInstanceInfo|undefined} value + * @return {!proto.ExecutionStartedEvent} returns this +*/ +proto.ExecutionStartedEvent.prototype.setParentinstance = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.clearParentinstance = function() { + return this.setParentinstance(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionStartedEvent.prototype.hasParentinstance = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional google.protobuf.Timestamp scheduledStartTimestamp = 6; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.ExecutionStartedEvent.prototype.getScheduledstarttimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.ExecutionStartedEvent} returns this +*/ +proto.ExecutionStartedEvent.prototype.setScheduledstarttimestamp = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.clearScheduledstarttimestamp = function() { + return this.setScheduledstarttimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionStartedEvent.prototype.hasScheduledstarttimestamp = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional TraceContext parentTraceContext = 7; + * @return {?proto.TraceContext} + */ +proto.ExecutionStartedEvent.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 7)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.ExecutionStartedEvent} returns this +*/ +proto.ExecutionStartedEvent.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionStartedEvent.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional google.protobuf.StringValue orchestrationSpanID = 8; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionStartedEvent.prototype.getOrchestrationspanid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionStartedEvent} returns this +*/ +proto.ExecutionStartedEvent.prototype.setOrchestrationspanid = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.clearOrchestrationspanid = function() { + return this.setOrchestrationspanid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionStartedEvent.prototype.hasOrchestrationspanid = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map tags = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.ExecutionStartedEvent.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.ExecutionStartedEvent} returns this + */ +proto.ExecutionStartedEvent.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ExecutionCompletedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.ExecutionCompletedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ExecutionCompletedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionCompletedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + orchestrationstatus: jspb.Message.getFieldWithDefault(msg, 1, 0), + result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ExecutionCompletedEvent} + */ +proto.ExecutionCompletedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ExecutionCompletedEvent; + return proto.ExecutionCompletedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ExecutionCompletedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ExecutionCompletedEvent} + */ +proto.ExecutionCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.OrchestrationStatus} */ (reader.readEnum()); + msg.setOrchestrationstatus(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setResult(value); + break; + case 3: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ExecutionCompletedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ExecutionCompletedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ExecutionCompletedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionCompletedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOrchestrationstatus(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getResult(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } +}; + + +/** + * optional OrchestrationStatus orchestrationStatus = 1; + * @return {!proto.OrchestrationStatus} + */ +proto.ExecutionCompletedEvent.prototype.getOrchestrationstatus = function() { + return /** @type {!proto.OrchestrationStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.OrchestrationStatus} value + * @return {!proto.ExecutionCompletedEvent} returns this + */ +proto.ExecutionCompletedEvent.prototype.setOrchestrationstatus = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue result = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionCompletedEvent.prototype.getResult = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionCompletedEvent} returns this +*/ +proto.ExecutionCompletedEvent.prototype.setResult = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionCompletedEvent} returns this + */ +proto.ExecutionCompletedEvent.prototype.clearResult = function() { + return this.setResult(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionCompletedEvent.prototype.hasResult = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional TaskFailureDetails failureDetails = 3; + * @return {?proto.TaskFailureDetails} + */ +proto.ExecutionCompletedEvent.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 3)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.ExecutionCompletedEvent} returns this +*/ +proto.ExecutionCompletedEvent.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionCompletedEvent} returns this + */ +proto.ExecutionCompletedEvent.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionCompletedEvent.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ExecutionTerminatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.ExecutionTerminatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ExecutionTerminatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionTerminatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + recurse: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ExecutionTerminatedEvent} + */ +proto.ExecutionTerminatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ExecutionTerminatedEvent; + return proto.ExecutionTerminatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ExecutionTerminatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ExecutionTerminatedEvent} + */ +proto.ExecutionTerminatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRecurse(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ExecutionTerminatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ExecutionTerminatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ExecutionTerminatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionTerminatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getRecurse(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional google.protobuf.StringValue input = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionTerminatedEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionTerminatedEvent} returns this +*/ +proto.ExecutionTerminatedEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionTerminatedEvent} returns this + */ +proto.ExecutionTerminatedEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionTerminatedEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool recurse = 2; + * @return {boolean} + */ +proto.ExecutionTerminatedEvent.prototype.getRecurse = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.ExecutionTerminatedEvent} returns this + */ +proto.ExecutionTerminatedEvent.prototype.setRecurse = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TaskScheduledEvent.prototype.toObject = function(opt_includeInstance) { + return proto.TaskScheduledEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TaskScheduledEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TaskScheduledEvent.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TaskScheduledEvent} + */ +proto.TaskScheduledEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TaskScheduledEvent; + return proto.TaskScheduledEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TaskScheduledEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TaskScheduledEvent} + */ +proto.TaskScheduledEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 4: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + case 5: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TaskScheduledEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TaskScheduledEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TaskScheduledEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TaskScheduledEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.TaskScheduledEvent.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.TaskScheduledEvent} returns this + */ +proto.TaskScheduledEvent.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue version = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.TaskScheduledEvent.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.TaskScheduledEvent} returns this +*/ +proto.TaskScheduledEvent.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TaskScheduledEvent} returns this + */ +proto.TaskScheduledEvent.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TaskScheduledEvent.prototype.hasVersion = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.TaskScheduledEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.TaskScheduledEvent} returns this +*/ +proto.TaskScheduledEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TaskScheduledEvent} returns this + */ +proto.TaskScheduledEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TaskScheduledEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional TraceContext parentTraceContext = 4; + * @return {?proto.TraceContext} + */ +proto.TaskScheduledEvent.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 4)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.TaskScheduledEvent} returns this +*/ +proto.TaskScheduledEvent.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TaskScheduledEvent} returns this + */ +proto.TaskScheduledEvent.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TaskScheduledEvent.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * map tags = 5; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.TaskScheduledEvent.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 5, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.TaskScheduledEvent} returns this + */ +proto.TaskScheduledEvent.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TaskCompletedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.TaskCompletedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TaskCompletedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TaskCompletedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), + result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TaskCompletedEvent} + */ +proto.TaskCompletedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TaskCompletedEvent; + return proto.TaskCompletedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TaskCompletedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TaskCompletedEvent} + */ +proto.TaskCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setTaskscheduledid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TaskCompletedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TaskCompletedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TaskCompletedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TaskCompletedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTaskscheduledid(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getResult(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 taskScheduledId = 1; + * @return {number} + */ +proto.TaskCompletedEvent.prototype.getTaskscheduledid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.TaskCompletedEvent} returns this + */ +proto.TaskCompletedEvent.prototype.setTaskscheduledid = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue result = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.TaskCompletedEvent.prototype.getResult = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.TaskCompletedEvent} returns this +*/ +proto.TaskCompletedEvent.prototype.setResult = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TaskCompletedEvent} returns this + */ +proto.TaskCompletedEvent.prototype.clearResult = function() { + return this.setResult(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TaskCompletedEvent.prototype.hasResult = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TaskFailedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.TaskFailedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TaskFailedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TaskFailedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TaskFailedEvent} + */ +proto.TaskFailedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TaskFailedEvent; + return proto.TaskFailedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TaskFailedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TaskFailedEvent} + */ +proto.TaskFailedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setTaskscheduledid(value); + break; + case 2: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TaskFailedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TaskFailedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TaskFailedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TaskFailedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTaskscheduledid(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 taskScheduledId = 1; + * @return {number} + */ +proto.TaskFailedEvent.prototype.getTaskscheduledid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.TaskFailedEvent} returns this + */ +proto.TaskFailedEvent.prototype.setTaskscheduledid = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional TaskFailureDetails failureDetails = 2; + * @return {?proto.TaskFailureDetails} + */ +proto.TaskFailedEvent.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 2)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.TaskFailedEvent} returns this +*/ +proto.TaskFailedEvent.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TaskFailedEvent} returns this + */ +proto.TaskFailedEvent.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TaskFailedEvent.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.SubOrchestrationInstanceCreatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SubOrchestrationInstanceCreatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SubOrchestrationInstanceCreatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SubOrchestrationInstanceCreatedEvent} + */ +proto.SubOrchestrationInstanceCreatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SubOrchestrationInstanceCreatedEvent; + return proto.SubOrchestrationInstanceCreatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SubOrchestrationInstanceCreatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SubOrchestrationInstanceCreatedEvent} + */ +proto.SubOrchestrationInstanceCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 5: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + case 6: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SubOrchestrationInstanceCreatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SubOrchestrationInstanceCreatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SubOrchestrationInstanceCreatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue version = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this +*/ +proto.SubOrchestrationInstanceCreatedEvent.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.hasVersion = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this +*/ +proto.SubOrchestrationInstanceCreatedEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional TraceContext parentTraceContext = 5; + * @return {?proto.TraceContext} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 5)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this +*/ +proto.SubOrchestrationInstanceCreatedEvent.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * map tags = 6; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 6, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this + */ +proto.SubOrchestrationInstanceCreatedEvent.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SubOrchestrationInstanceCompletedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.SubOrchestrationInstanceCompletedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SubOrchestrationInstanceCompletedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SubOrchestrationInstanceCompletedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), + result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SubOrchestrationInstanceCompletedEvent} + */ +proto.SubOrchestrationInstanceCompletedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SubOrchestrationInstanceCompletedEvent; + return proto.SubOrchestrationInstanceCompletedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SubOrchestrationInstanceCompletedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SubOrchestrationInstanceCompletedEvent} + */ +proto.SubOrchestrationInstanceCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setTaskscheduledid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setResult(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SubOrchestrationInstanceCompletedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SubOrchestrationInstanceCompletedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SubOrchestrationInstanceCompletedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SubOrchestrationInstanceCompletedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTaskscheduledid(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getResult(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 taskScheduledId = 1; + * @return {number} + */ +proto.SubOrchestrationInstanceCompletedEvent.prototype.getTaskscheduledid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.SubOrchestrationInstanceCompletedEvent} returns this + */ +proto.SubOrchestrationInstanceCompletedEvent.prototype.setTaskscheduledid = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue result = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.SubOrchestrationInstanceCompletedEvent.prototype.getResult = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.SubOrchestrationInstanceCompletedEvent} returns this +*/ +proto.SubOrchestrationInstanceCompletedEvent.prototype.setResult = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SubOrchestrationInstanceCompletedEvent} returns this + */ +proto.SubOrchestrationInstanceCompletedEvent.prototype.clearResult = function() { + return this.setResult(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SubOrchestrationInstanceCompletedEvent.prototype.hasResult = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SubOrchestrationInstanceFailedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.SubOrchestrationInstanceFailedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SubOrchestrationInstanceFailedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SubOrchestrationInstanceFailedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SubOrchestrationInstanceFailedEvent} + */ +proto.SubOrchestrationInstanceFailedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SubOrchestrationInstanceFailedEvent; + return proto.SubOrchestrationInstanceFailedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SubOrchestrationInstanceFailedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SubOrchestrationInstanceFailedEvent} + */ +proto.SubOrchestrationInstanceFailedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setTaskscheduledid(value); + break; + case 2: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SubOrchestrationInstanceFailedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SubOrchestrationInstanceFailedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SubOrchestrationInstanceFailedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SubOrchestrationInstanceFailedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getTaskscheduledid(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 taskScheduledId = 1; + * @return {number} + */ +proto.SubOrchestrationInstanceFailedEvent.prototype.getTaskscheduledid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.SubOrchestrationInstanceFailedEvent} returns this + */ +proto.SubOrchestrationInstanceFailedEvent.prototype.setTaskscheduledid = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional TaskFailureDetails failureDetails = 2; + * @return {?proto.TaskFailureDetails} + */ +proto.SubOrchestrationInstanceFailedEvent.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 2)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.SubOrchestrationInstanceFailedEvent} returns this +*/ +proto.SubOrchestrationInstanceFailedEvent.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SubOrchestrationInstanceFailedEvent} returns this + */ +proto.SubOrchestrationInstanceFailedEvent.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SubOrchestrationInstanceFailedEvent.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TimerCreatedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.TimerCreatedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TimerCreatedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TimerCreatedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + fireat: (f = msg.getFireat()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TimerCreatedEvent} + */ +proto.TimerCreatedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TimerCreatedEvent; + return proto.TimerCreatedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TimerCreatedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TimerCreatedEvent} + */ +proto.TimerCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setFireat(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TimerCreatedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TimerCreatedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TimerCreatedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TimerCreatedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFireat(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.Timestamp fireAt = 1; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.TimerCreatedEvent.prototype.getFireat = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.TimerCreatedEvent} returns this +*/ +proto.TimerCreatedEvent.prototype.setFireat = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TimerCreatedEvent} returns this + */ +proto.TimerCreatedEvent.prototype.clearFireat = function() { + return this.setFireat(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TimerCreatedEvent.prototype.hasFireat = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TimerFiredEvent.prototype.toObject = function(opt_includeInstance) { + return proto.TimerFiredEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TimerFiredEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TimerFiredEvent.toObject = function(includeInstance, msg) { + var f, obj = { + fireat: (f = msg.getFireat()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + timerid: jspb.Message.getFieldWithDefault(msg, 2, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TimerFiredEvent} + */ +proto.TimerFiredEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TimerFiredEvent; + return proto.TimerFiredEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TimerFiredEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TimerFiredEvent} + */ +proto.TimerFiredEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setFireat(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setTimerid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TimerFiredEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TimerFiredEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TimerFiredEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TimerFiredEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFireat(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getTimerid(); + if (f !== 0) { + writer.writeInt32( + 2, + f + ); + } +}; + + +/** + * optional google.protobuf.Timestamp fireAt = 1; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.TimerFiredEvent.prototype.getFireat = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.TimerFiredEvent} returns this +*/ +proto.TimerFiredEvent.prototype.setFireat = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TimerFiredEvent} returns this + */ +proto.TimerFiredEvent.prototype.clearFireat = function() { + return this.setFireat(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TimerFiredEvent.prototype.hasFireat = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int32 timerId = 2; + * @return {number} + */ +proto.TimerFiredEvent.prototype.getTimerid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.TimerFiredEvent} returns this + */ +proto.TimerFiredEvent.prototype.setTimerid = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestratorStartedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestratorStartedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestratorStartedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorStartedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestratorStartedEvent} + */ +proto.OrchestratorStartedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestratorStartedEvent; + return proto.OrchestratorStartedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestratorStartedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestratorStartedEvent} + */ +proto.OrchestratorStartedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestratorStartedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestratorStartedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestratorStartedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorStartedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestratorCompletedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestratorCompletedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestratorCompletedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorCompletedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestratorCompletedEvent} + */ +proto.OrchestratorCompletedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestratorCompletedEvent; + return proto.OrchestratorCompletedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestratorCompletedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestratorCompletedEvent} + */ +proto.OrchestratorCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestratorCompletedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestratorCompletedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestratorCompletedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorCompletedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EventSentEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EventSentEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EventSentEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EventSentEvent.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EventSentEvent} + */ +proto.EventSentEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EventSentEvent; + return proto.EventSentEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EventSentEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EventSentEvent} + */ +proto.EventSentEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EventSentEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EventSentEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EventSentEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EventSentEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.EventSentEvent.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EventSentEvent} returns this + */ +proto.EventSentEvent.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.EventSentEvent.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EventSentEvent} returns this + */ +proto.EventSentEvent.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EventSentEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EventSentEvent} returns this +*/ +proto.EventSentEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EventSentEvent} returns this + */ +proto.EventSentEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EventSentEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EventRaisedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EventRaisedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EventRaisedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EventRaisedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EventRaisedEvent} + */ +proto.EventRaisedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EventRaisedEvent; + return proto.EventRaisedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EventRaisedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EventRaisedEvent} + */ +proto.EventRaisedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EventRaisedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EventRaisedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EventRaisedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EventRaisedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.EventRaisedEvent.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EventRaisedEvent} returns this + */ +proto.EventRaisedEvent.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue input = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EventRaisedEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EventRaisedEvent} returns this +*/ +proto.EventRaisedEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EventRaisedEvent} returns this + */ +proto.EventRaisedEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EventRaisedEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.GenericEvent.prototype.toObject = function(opt_includeInstance) { + return proto.GenericEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.GenericEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GenericEvent.toObject = function(includeInstance, msg) { + var f, obj = { + data: (f = msg.getData()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.GenericEvent} + */ +proto.GenericEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.GenericEvent; + return proto.GenericEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.GenericEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.GenericEvent} + */ +proto.GenericEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.GenericEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.GenericEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.GenericEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GenericEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getData(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.StringValue data = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.GenericEvent.prototype.getData = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.GenericEvent} returns this +*/ +proto.GenericEvent.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.GenericEvent} returns this + */ +proto.GenericEvent.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.GenericEvent.prototype.hasData = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.HistoryStateEvent.prototype.toObject = function(opt_includeInstance) { + return proto.HistoryStateEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.HistoryStateEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.HistoryStateEvent.toObject = function(includeInstance, msg) { + var f, obj = { + orchestrationstate: (f = msg.getOrchestrationstate()) && proto.OrchestrationState.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.HistoryStateEvent} + */ +proto.HistoryStateEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.HistoryStateEvent; + return proto.HistoryStateEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.HistoryStateEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.HistoryStateEvent} + */ +proto.HistoryStateEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.OrchestrationState; + reader.readMessage(value,proto.OrchestrationState.deserializeBinaryFromReader); + msg.setOrchestrationstate(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.HistoryStateEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.HistoryStateEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.HistoryStateEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.HistoryStateEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOrchestrationstate(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.OrchestrationState.serializeBinaryToWriter + ); + } +}; + + +/** + * optional OrchestrationState orchestrationState = 1; + * @return {?proto.OrchestrationState} + */ +proto.HistoryStateEvent.prototype.getOrchestrationstate = function() { + return /** @type{?proto.OrchestrationState} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationState, 1)); +}; + + +/** + * @param {?proto.OrchestrationState|undefined} value + * @return {!proto.HistoryStateEvent} returns this +*/ +proto.HistoryStateEvent.prototype.setOrchestrationstate = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryStateEvent} returns this + */ +proto.HistoryStateEvent.prototype.clearOrchestrationstate = function() { + return this.setOrchestrationstate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryStateEvent.prototype.hasOrchestrationstate = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ContinueAsNewEvent.prototype.toObject = function(opt_includeInstance) { + return proto.ContinueAsNewEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ContinueAsNewEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ContinueAsNewEvent.toObject = function(includeInstance, msg) { + var f, obj = { + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ContinueAsNewEvent} + */ +proto.ContinueAsNewEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ContinueAsNewEvent; + return proto.ContinueAsNewEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ContinueAsNewEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ContinueAsNewEvent} + */ +proto.ContinueAsNewEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ContinueAsNewEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ContinueAsNewEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ContinueAsNewEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ContinueAsNewEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.StringValue input = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ContinueAsNewEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ContinueAsNewEvent} returns this +*/ +proto.ContinueAsNewEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ContinueAsNewEvent} returns this + */ +proto.ContinueAsNewEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ContinueAsNewEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ExecutionSuspendedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.ExecutionSuspendedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ExecutionSuspendedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionSuspendedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ExecutionSuspendedEvent} + */ +proto.ExecutionSuspendedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ExecutionSuspendedEvent; + return proto.ExecutionSuspendedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ExecutionSuspendedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ExecutionSuspendedEvent} + */ +proto.ExecutionSuspendedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ExecutionSuspendedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ExecutionSuspendedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ExecutionSuspendedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionSuspendedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.StringValue input = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionSuspendedEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionSuspendedEvent} returns this +*/ +proto.ExecutionSuspendedEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionSuspendedEvent} returns this + */ +proto.ExecutionSuspendedEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionSuspendedEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ExecutionResumedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.ExecutionResumedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ExecutionResumedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionResumedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ExecutionResumedEvent} + */ +proto.ExecutionResumedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ExecutionResumedEvent; + return proto.ExecutionResumedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ExecutionResumedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ExecutionResumedEvent} + */ +proto.ExecutionResumedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ExecutionResumedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ExecutionResumedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ExecutionResumedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionResumedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.StringValue input = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionResumedEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionResumedEvent} returns this +*/ +proto.ExecutionResumedEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionResumedEvent} returns this + */ +proto.ExecutionResumedEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionResumedEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityOperationSignaledEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EntityOperationSignaledEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityOperationSignaledEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityOperationSignaledEvent.toObject = function(includeInstance, msg) { + var f, obj = { + requestid: jspb.Message.getFieldWithDefault(msg, 1, ""), + operation: jspb.Message.getFieldWithDefault(msg, 2, ""), + scheduledtime: (f = msg.getScheduledtime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + targetinstanceid: (f = msg.getTargetinstanceid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityOperationSignaledEvent} + */ +proto.EntityOperationSignaledEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityOperationSignaledEvent; + return proto.EntityOperationSignaledEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityOperationSignaledEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityOperationSignaledEvent} + */ +proto.EntityOperationSignaledEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRequestid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setOperation(value); + break; + case 3: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setScheduledtime(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 5: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setTargetinstanceid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityOperationSignaledEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityOperationSignaledEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityOperationSignaledEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityOperationSignaledEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRequestid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getOperation(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getScheduledtime(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getTargetinstanceid(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string requestId = 1; + * @return {string} + */ +proto.EntityOperationSignaledEvent.prototype.getRequestid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityOperationSignaledEvent} returns this + */ +proto.EntityOperationSignaledEvent.prototype.setRequestid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string operation = 2; + * @return {string} + */ +proto.EntityOperationSignaledEvent.prototype.getOperation = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityOperationSignaledEvent} returns this + */ +proto.EntityOperationSignaledEvent.prototype.setOperation = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.Timestamp scheduledTime = 3; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.EntityOperationSignaledEvent.prototype.getScheduledtime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.EntityOperationSignaledEvent} returns this +*/ +proto.EntityOperationSignaledEvent.prototype.setScheduledtime = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationSignaledEvent} returns this + */ +proto.EntityOperationSignaledEvent.prototype.clearScheduledtime = function() { + return this.setScheduledtime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationSignaledEvent.prototype.hasScheduledtime = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityOperationSignaledEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityOperationSignaledEvent} returns this +*/ +proto.EntityOperationSignaledEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationSignaledEvent} returns this + */ +proto.EntityOperationSignaledEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationSignaledEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional google.protobuf.StringValue targetInstanceId = 5; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityOperationSignaledEvent.prototype.getTargetinstanceid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityOperationSignaledEvent} returns this +*/ +proto.EntityOperationSignaledEvent.prototype.setTargetinstanceid = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationSignaledEvent} returns this + */ +proto.EntityOperationSignaledEvent.prototype.clearTargetinstanceid = function() { + return this.setTargetinstanceid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationSignaledEvent.prototype.hasTargetinstanceid = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityOperationCalledEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EntityOperationCalledEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityOperationCalledEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityOperationCalledEvent.toObject = function(includeInstance, msg) { + var f, obj = { + requestid: jspb.Message.getFieldWithDefault(msg, 1, ""), + operation: jspb.Message.getFieldWithDefault(msg, 2, ""), + scheduledtime: (f = msg.getScheduledtime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + parentinstanceid: (f = msg.getParentinstanceid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + parentexecutionid: (f = msg.getParentexecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + targetinstanceid: (f = msg.getTargetinstanceid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityOperationCalledEvent} + */ +proto.EntityOperationCalledEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityOperationCalledEvent; + return proto.EntityOperationCalledEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityOperationCalledEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityOperationCalledEvent} + */ +proto.EntityOperationCalledEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRequestid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setOperation(value); + break; + case 3: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setScheduledtime(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 5: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setParentinstanceid(value); + break; + case 6: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setParentexecutionid(value); + break; + case 7: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setTargetinstanceid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityOperationCalledEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityOperationCalledEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityOperationCalledEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityOperationCalledEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRequestid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getOperation(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getScheduledtime(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getParentinstanceid(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getParentexecutionid(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getTargetinstanceid(); + if (f != null) { + writer.writeMessage( + 7, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string requestId = 1; + * @return {string} + */ +proto.EntityOperationCalledEvent.prototype.getRequestid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityOperationCalledEvent} returns this + */ +proto.EntityOperationCalledEvent.prototype.setRequestid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string operation = 2; + * @return {string} + */ +proto.EntityOperationCalledEvent.prototype.getOperation = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityOperationCalledEvent} returns this + */ +proto.EntityOperationCalledEvent.prototype.setOperation = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.Timestamp scheduledTime = 3; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.EntityOperationCalledEvent.prototype.getScheduledtime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.EntityOperationCalledEvent} returns this +*/ +proto.EntityOperationCalledEvent.prototype.setScheduledtime = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationCalledEvent} returns this + */ +proto.EntityOperationCalledEvent.prototype.clearScheduledtime = function() { + return this.setScheduledtime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationCalledEvent.prototype.hasScheduledtime = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityOperationCalledEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityOperationCalledEvent} returns this +*/ +proto.EntityOperationCalledEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationCalledEvent} returns this + */ +proto.EntityOperationCalledEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationCalledEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional google.protobuf.StringValue parentInstanceId = 5; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityOperationCalledEvent.prototype.getParentinstanceid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityOperationCalledEvent} returns this +*/ +proto.EntityOperationCalledEvent.prototype.setParentinstanceid = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationCalledEvent} returns this + */ +proto.EntityOperationCalledEvent.prototype.clearParentinstanceid = function() { + return this.setParentinstanceid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationCalledEvent.prototype.hasParentinstanceid = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional google.protobuf.StringValue parentExecutionId = 6; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityOperationCalledEvent.prototype.getParentexecutionid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityOperationCalledEvent} returns this +*/ +proto.EntityOperationCalledEvent.prototype.setParentexecutionid = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationCalledEvent} returns this + */ +proto.EntityOperationCalledEvent.prototype.clearParentexecutionid = function() { + return this.setParentexecutionid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationCalledEvent.prototype.hasParentexecutionid = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional google.protobuf.StringValue targetInstanceId = 7; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityOperationCalledEvent.prototype.getTargetinstanceid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityOperationCalledEvent} returns this +*/ +proto.EntityOperationCalledEvent.prototype.setTargetinstanceid = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationCalledEvent} returns this + */ +proto.EntityOperationCalledEvent.prototype.clearTargetinstanceid = function() { + return this.setTargetinstanceid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationCalledEvent.prototype.hasTargetinstanceid = function() { + return jspb.Message.getField(this, 7) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.EntityLockRequestedEvent.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityLockRequestedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EntityLockRequestedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityLockRequestedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityLockRequestedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + criticalsectionid: jspb.Message.getFieldWithDefault(msg, 1, ""), + locksetList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, + position: jspb.Message.getFieldWithDefault(msg, 3, 0), + parentinstanceid: (f = msg.getParentinstanceid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityLockRequestedEvent} + */ +proto.EntityLockRequestedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityLockRequestedEvent; + return proto.EntityLockRequestedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityLockRequestedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityLockRequestedEvent} + */ +proto.EntityLockRequestedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setCriticalsectionid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.addLockset(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setPosition(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setParentinstanceid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityLockRequestedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityLockRequestedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityLockRequestedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityLockRequestedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCriticalsectionid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getLocksetList(); + if (f.length > 0) { + writer.writeRepeatedString( + 2, + f + ); + } + f = message.getPosition(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } + f = message.getParentinstanceid(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string criticalSectionId = 1; + * @return {string} + */ +proto.EntityLockRequestedEvent.prototype.getCriticalsectionid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityLockRequestedEvent} returns this + */ +proto.EntityLockRequestedEvent.prototype.setCriticalsectionid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated string lockSet = 2; + * @return {!Array} + */ +proto.EntityLockRequestedEvent.prototype.getLocksetList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.EntityLockRequestedEvent} returns this + */ +proto.EntityLockRequestedEvent.prototype.setLocksetList = function(value) { + return jspb.Message.setField(this, 2, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.EntityLockRequestedEvent} returns this + */ +proto.EntityLockRequestedEvent.prototype.addLockset = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 2, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.EntityLockRequestedEvent} returns this + */ +proto.EntityLockRequestedEvent.prototype.clearLocksetList = function() { + return this.setLocksetList([]); +}; + + +/** + * optional int32 position = 3; + * @return {number} + */ +proto.EntityLockRequestedEvent.prototype.getPosition = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.EntityLockRequestedEvent} returns this + */ +proto.EntityLockRequestedEvent.prototype.setPosition = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional google.protobuf.StringValue parentInstanceId = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityLockRequestedEvent.prototype.getParentinstanceid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityLockRequestedEvent} returns this +*/ +proto.EntityLockRequestedEvent.prototype.setParentinstanceid = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityLockRequestedEvent} returns this + */ +proto.EntityLockRequestedEvent.prototype.clearParentinstanceid = function() { + return this.setParentinstanceid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityLockRequestedEvent.prototype.hasParentinstanceid = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityOperationCompletedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EntityOperationCompletedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityOperationCompletedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityOperationCompletedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + requestid: jspb.Message.getFieldWithDefault(msg, 1, ""), + output: (f = msg.getOutput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityOperationCompletedEvent} + */ +proto.EntityOperationCompletedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityOperationCompletedEvent; + return proto.EntityOperationCompletedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityOperationCompletedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityOperationCompletedEvent} + */ +proto.EntityOperationCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRequestid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setOutput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityOperationCompletedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityOperationCompletedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityOperationCompletedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityOperationCompletedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRequestid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string requestId = 1; + * @return {string} + */ +proto.EntityOperationCompletedEvent.prototype.getRequestid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityOperationCompletedEvent} returns this + */ +proto.EntityOperationCompletedEvent.prototype.setRequestid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue output = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityOperationCompletedEvent.prototype.getOutput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityOperationCompletedEvent} returns this +*/ +proto.EntityOperationCompletedEvent.prototype.setOutput = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationCompletedEvent} returns this + */ +proto.EntityOperationCompletedEvent.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationCompletedEvent.prototype.hasOutput = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityOperationFailedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EntityOperationFailedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityOperationFailedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityOperationFailedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + requestid: jspb.Message.getFieldWithDefault(msg, 1, ""), + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityOperationFailedEvent} + */ +proto.EntityOperationFailedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityOperationFailedEvent; + return proto.EntityOperationFailedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityOperationFailedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityOperationFailedEvent} + */ +proto.EntityOperationFailedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRequestid(value); + break; + case 2: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityOperationFailedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityOperationFailedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityOperationFailedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityOperationFailedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRequestid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string requestId = 1; + * @return {string} + */ +proto.EntityOperationFailedEvent.prototype.getRequestid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityOperationFailedEvent} returns this + */ +proto.EntityOperationFailedEvent.prototype.setRequestid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional TaskFailureDetails failureDetails = 2; + * @return {?proto.TaskFailureDetails} + */ +proto.EntityOperationFailedEvent.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 2)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.EntityOperationFailedEvent} returns this +*/ +proto.EntityOperationFailedEvent.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityOperationFailedEvent} returns this + */ +proto.EntityOperationFailedEvent.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityOperationFailedEvent.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityUnlockSentEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EntityUnlockSentEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityUnlockSentEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityUnlockSentEvent.toObject = function(includeInstance, msg) { + var f, obj = { + criticalsectionid: jspb.Message.getFieldWithDefault(msg, 1, ""), + parentinstanceid: (f = msg.getParentinstanceid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + targetinstanceid: (f = msg.getTargetinstanceid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityUnlockSentEvent} + */ +proto.EntityUnlockSentEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityUnlockSentEvent; + return proto.EntityUnlockSentEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityUnlockSentEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityUnlockSentEvent} + */ +proto.EntityUnlockSentEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setCriticalsectionid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setParentinstanceid(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setTargetinstanceid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityUnlockSentEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityUnlockSentEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityUnlockSentEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityUnlockSentEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCriticalsectionid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getParentinstanceid(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getTargetinstanceid(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string criticalSectionId = 1; + * @return {string} + */ +proto.EntityUnlockSentEvent.prototype.getCriticalsectionid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityUnlockSentEvent} returns this + */ +proto.EntityUnlockSentEvent.prototype.setCriticalsectionid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue parentInstanceId = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityUnlockSentEvent.prototype.getParentinstanceid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityUnlockSentEvent} returns this +*/ +proto.EntityUnlockSentEvent.prototype.setParentinstanceid = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityUnlockSentEvent} returns this + */ +proto.EntityUnlockSentEvent.prototype.clearParentinstanceid = function() { + return this.setParentinstanceid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityUnlockSentEvent.prototype.hasParentinstanceid = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.StringValue targetInstanceId = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityUnlockSentEvent.prototype.getTargetinstanceid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityUnlockSentEvent} returns this +*/ +proto.EntityUnlockSentEvent.prototype.setTargetinstanceid = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityUnlockSentEvent} returns this + */ +proto.EntityUnlockSentEvent.prototype.clearTargetinstanceid = function() { + return this.setTargetinstanceid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityUnlockSentEvent.prototype.hasTargetinstanceid = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityLockGrantedEvent.prototype.toObject = function(opt_includeInstance) { + return proto.EntityLockGrantedEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityLockGrantedEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityLockGrantedEvent.toObject = function(includeInstance, msg) { + var f, obj = { + criticalsectionid: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityLockGrantedEvent} + */ +proto.EntityLockGrantedEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityLockGrantedEvent; + return proto.EntityLockGrantedEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityLockGrantedEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityLockGrantedEvent} + */ +proto.EntityLockGrantedEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setCriticalsectionid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityLockGrantedEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityLockGrantedEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityLockGrantedEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityLockGrantedEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCriticalsectionid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string criticalSectionId = 1; + * @return {string} + */ +proto.EntityLockGrantedEvent.prototype.getCriticalsectionid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityLockGrantedEvent} returns this + */ +proto.EntityLockGrantedEvent.prototype.setCriticalsectionid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ExecutionRewoundEvent.prototype.toObject = function(opt_includeInstance) { + return proto.ExecutionRewoundEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ExecutionRewoundEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionRewoundEvent.toObject = function(includeInstance, msg) { + var f, obj = { + reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + parentexecutionid: (f = msg.getParentexecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + instanceid: (f = msg.getInstanceid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f), + name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + parentinstance: (f = msg.getParentinstance()) && proto.ParentInstanceInfo.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ExecutionRewoundEvent} + */ +proto.ExecutionRewoundEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ExecutionRewoundEvent; + return proto.ExecutionRewoundEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ExecutionRewoundEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ExecutionRewoundEvent} + */ +proto.ExecutionRewoundEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setReason(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setParentexecutionid(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInstanceid(value); + break; + case 4: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + case 5: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setName(value); + break; + case 6: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 7: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 8: + var value = new proto.ParentInstanceInfo; + reader.readMessage(value,proto.ParentInstanceInfo.deserializeBinaryFromReader); + msg.setParentinstance(value); + break; + case 9: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ExecutionRewoundEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ExecutionRewoundEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ExecutionRewoundEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ExecutionRewoundEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getReason(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getParentexecutionid(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInstanceid(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } + f = message.getName(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 7, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getParentinstance(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.ParentInstanceInfo.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional google.protobuf.StringValue reason = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionRewoundEvent.prototype.getReason = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionRewoundEvent} returns this +*/ +proto.ExecutionRewoundEvent.prototype.setReason = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearReason = function() { + return this.setReason(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionRewoundEvent.prototype.hasReason = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional google.protobuf.StringValue parentExecutionId = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionRewoundEvent.prototype.getParentexecutionid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionRewoundEvent} returns this +*/ +proto.ExecutionRewoundEvent.prototype.setParentexecutionid = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearParentexecutionid = function() { + return this.setParentexecutionid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionRewoundEvent.prototype.hasParentexecutionid = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.StringValue instanceId = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionRewoundEvent.prototype.getInstanceid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionRewoundEvent} returns this +*/ +proto.ExecutionRewoundEvent.prototype.setInstanceid = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearInstanceid = function() { + return this.setInstanceid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionRewoundEvent.prototype.hasInstanceid = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional TraceContext parentTraceContext = 4; + * @return {?proto.TraceContext} + */ +proto.ExecutionRewoundEvent.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 4)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.ExecutionRewoundEvent} returns this +*/ +proto.ExecutionRewoundEvent.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionRewoundEvent.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional google.protobuf.StringValue name = 5; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionRewoundEvent.prototype.getName = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionRewoundEvent} returns this +*/ +proto.ExecutionRewoundEvent.prototype.setName = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearName = function() { + return this.setName(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionRewoundEvent.prototype.hasName = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional google.protobuf.StringValue version = 6; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionRewoundEvent.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionRewoundEvent} returns this +*/ +proto.ExecutionRewoundEvent.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionRewoundEvent.prototype.hasVersion = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 7; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ExecutionRewoundEvent.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ExecutionRewoundEvent} returns this +*/ +proto.ExecutionRewoundEvent.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionRewoundEvent.prototype.hasInput = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional ParentInstanceInfo parentInstance = 8; + * @return {?proto.ParentInstanceInfo} + */ +proto.ExecutionRewoundEvent.prototype.getParentinstance = function() { + return /** @type{?proto.ParentInstanceInfo} */ ( + jspb.Message.getWrapperField(this, proto.ParentInstanceInfo, 8)); +}; + + +/** + * @param {?proto.ParentInstanceInfo|undefined} value + * @return {!proto.ExecutionRewoundEvent} returns this +*/ +proto.ExecutionRewoundEvent.prototype.setParentinstance = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearParentinstance = function() { + return this.setParentinstance(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ExecutionRewoundEvent.prototype.hasParentinstance = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * map tags = 9; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.ExecutionRewoundEvent.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 9, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.ExecutionRewoundEvent} returns this + */ +proto.ExecutionRewoundEvent.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.HistoryEvent.oneofGroups_ = [[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]]; + +/** + * @enum {number} + */ +proto.HistoryEvent.EventtypeCase = { + EVENTTYPE_NOT_SET: 0, + EXECUTIONSTARTED: 3, + EXECUTIONCOMPLETED: 4, + EXECUTIONTERMINATED: 5, + TASKSCHEDULED: 6, + TASKCOMPLETED: 7, + TASKFAILED: 8, + SUBORCHESTRATIONINSTANCECREATED: 9, + SUBORCHESTRATIONINSTANCECOMPLETED: 10, + SUBORCHESTRATIONINSTANCEFAILED: 11, + TIMERCREATED: 12, + TIMERFIRED: 13, + ORCHESTRATORSTARTED: 14, + ORCHESTRATORCOMPLETED: 15, + EVENTSENT: 16, + EVENTRAISED: 17, + GENERICEVENT: 18, + HISTORYSTATE: 19, + CONTINUEASNEW: 20, + EXECUTIONSUSPENDED: 21, + EXECUTIONRESUMED: 22, + ENTITYOPERATIONSIGNALED: 23, + ENTITYOPERATIONCALLED: 24, + ENTITYOPERATIONCOMPLETED: 25, + ENTITYOPERATIONFAILED: 26, + ENTITYLOCKREQUESTED: 27, + ENTITYLOCKGRANTED: 28, + ENTITYUNLOCKSENT: 29, + EXECUTIONREWOUND: 30 +}; + +/** + * @return {proto.HistoryEvent.EventtypeCase} + */ +proto.HistoryEvent.prototype.getEventtypeCase = function() { + return /** @type {proto.HistoryEvent.EventtypeCase} */(jspb.Message.computeOneofCase(this, proto.HistoryEvent.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.HistoryEvent.prototype.toObject = function(opt_includeInstance) { + return proto.HistoryEvent.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.HistoryEvent} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.HistoryEvent.toObject = function(includeInstance, msg) { + var f, obj = { + eventid: jspb.Message.getFieldWithDefault(msg, 1, 0), + timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + executionstarted: (f = msg.getExecutionstarted()) && proto.ExecutionStartedEvent.toObject(includeInstance, f), + executioncompleted: (f = msg.getExecutioncompleted()) && proto.ExecutionCompletedEvent.toObject(includeInstance, f), + executionterminated: (f = msg.getExecutionterminated()) && proto.ExecutionTerminatedEvent.toObject(includeInstance, f), + taskscheduled: (f = msg.getTaskscheduled()) && proto.TaskScheduledEvent.toObject(includeInstance, f), + taskcompleted: (f = msg.getTaskcompleted()) && proto.TaskCompletedEvent.toObject(includeInstance, f), + taskfailed: (f = msg.getTaskfailed()) && proto.TaskFailedEvent.toObject(includeInstance, f), + suborchestrationinstancecreated: (f = msg.getSuborchestrationinstancecreated()) && proto.SubOrchestrationInstanceCreatedEvent.toObject(includeInstance, f), + suborchestrationinstancecompleted: (f = msg.getSuborchestrationinstancecompleted()) && proto.SubOrchestrationInstanceCompletedEvent.toObject(includeInstance, f), + suborchestrationinstancefailed: (f = msg.getSuborchestrationinstancefailed()) && proto.SubOrchestrationInstanceFailedEvent.toObject(includeInstance, f), + timercreated: (f = msg.getTimercreated()) && proto.TimerCreatedEvent.toObject(includeInstance, f), + timerfired: (f = msg.getTimerfired()) && proto.TimerFiredEvent.toObject(includeInstance, f), + orchestratorstarted: (f = msg.getOrchestratorstarted()) && proto.OrchestratorStartedEvent.toObject(includeInstance, f), + orchestratorcompleted: (f = msg.getOrchestratorcompleted()) && proto.OrchestratorCompletedEvent.toObject(includeInstance, f), + eventsent: (f = msg.getEventsent()) && proto.EventSentEvent.toObject(includeInstance, f), + eventraised: (f = msg.getEventraised()) && proto.EventRaisedEvent.toObject(includeInstance, f), + genericevent: (f = msg.getGenericevent()) && proto.GenericEvent.toObject(includeInstance, f), + historystate: (f = msg.getHistorystate()) && proto.HistoryStateEvent.toObject(includeInstance, f), + continueasnew: (f = msg.getContinueasnew()) && proto.ContinueAsNewEvent.toObject(includeInstance, f), + executionsuspended: (f = msg.getExecutionsuspended()) && proto.ExecutionSuspendedEvent.toObject(includeInstance, f), + executionresumed: (f = msg.getExecutionresumed()) && proto.ExecutionResumedEvent.toObject(includeInstance, f), + entityoperationsignaled: (f = msg.getEntityoperationsignaled()) && proto.EntityOperationSignaledEvent.toObject(includeInstance, f), + entityoperationcalled: (f = msg.getEntityoperationcalled()) && proto.EntityOperationCalledEvent.toObject(includeInstance, f), + entityoperationcompleted: (f = msg.getEntityoperationcompleted()) && proto.EntityOperationCompletedEvent.toObject(includeInstance, f), + entityoperationfailed: (f = msg.getEntityoperationfailed()) && proto.EntityOperationFailedEvent.toObject(includeInstance, f), + entitylockrequested: (f = msg.getEntitylockrequested()) && proto.EntityLockRequestedEvent.toObject(includeInstance, f), + entitylockgranted: (f = msg.getEntitylockgranted()) && proto.EntityLockGrantedEvent.toObject(includeInstance, f), + entityunlocksent: (f = msg.getEntityunlocksent()) && proto.EntityUnlockSentEvent.toObject(includeInstance, f), + executionrewound: (f = msg.getExecutionrewound()) && proto.ExecutionRewoundEvent.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.HistoryEvent} + */ +proto.HistoryEvent.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.HistoryEvent; + return proto.HistoryEvent.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.HistoryEvent} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.HistoryEvent} + */ +proto.HistoryEvent.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setEventid(value); + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setTimestamp(value); + break; + case 3: + var value = new proto.ExecutionStartedEvent; + reader.readMessage(value,proto.ExecutionStartedEvent.deserializeBinaryFromReader); + msg.setExecutionstarted(value); + break; + case 4: + var value = new proto.ExecutionCompletedEvent; + reader.readMessage(value,proto.ExecutionCompletedEvent.deserializeBinaryFromReader); + msg.setExecutioncompleted(value); + break; + case 5: + var value = new proto.ExecutionTerminatedEvent; + reader.readMessage(value,proto.ExecutionTerminatedEvent.deserializeBinaryFromReader); + msg.setExecutionterminated(value); + break; + case 6: + var value = new proto.TaskScheduledEvent; + reader.readMessage(value,proto.TaskScheduledEvent.deserializeBinaryFromReader); + msg.setTaskscheduled(value); + break; + case 7: + var value = new proto.TaskCompletedEvent; + reader.readMessage(value,proto.TaskCompletedEvent.deserializeBinaryFromReader); + msg.setTaskcompleted(value); + break; + case 8: + var value = new proto.TaskFailedEvent; + reader.readMessage(value,proto.TaskFailedEvent.deserializeBinaryFromReader); + msg.setTaskfailed(value); + break; + case 9: + var value = new proto.SubOrchestrationInstanceCreatedEvent; + reader.readMessage(value,proto.SubOrchestrationInstanceCreatedEvent.deserializeBinaryFromReader); + msg.setSuborchestrationinstancecreated(value); + break; + case 10: + var value = new proto.SubOrchestrationInstanceCompletedEvent; + reader.readMessage(value,proto.SubOrchestrationInstanceCompletedEvent.deserializeBinaryFromReader); + msg.setSuborchestrationinstancecompleted(value); + break; + case 11: + var value = new proto.SubOrchestrationInstanceFailedEvent; + reader.readMessage(value,proto.SubOrchestrationInstanceFailedEvent.deserializeBinaryFromReader); + msg.setSuborchestrationinstancefailed(value); + break; + case 12: + var value = new proto.TimerCreatedEvent; + reader.readMessage(value,proto.TimerCreatedEvent.deserializeBinaryFromReader); + msg.setTimercreated(value); + break; + case 13: + var value = new proto.TimerFiredEvent; + reader.readMessage(value,proto.TimerFiredEvent.deserializeBinaryFromReader); + msg.setTimerfired(value); + break; + case 14: + var value = new proto.OrchestratorStartedEvent; + reader.readMessage(value,proto.OrchestratorStartedEvent.deserializeBinaryFromReader); + msg.setOrchestratorstarted(value); + break; + case 15: + var value = new proto.OrchestratorCompletedEvent; + reader.readMessage(value,proto.OrchestratorCompletedEvent.deserializeBinaryFromReader); + msg.setOrchestratorcompleted(value); + break; + case 16: + var value = new proto.EventSentEvent; + reader.readMessage(value,proto.EventSentEvent.deserializeBinaryFromReader); + msg.setEventsent(value); + break; + case 17: + var value = new proto.EventRaisedEvent; + reader.readMessage(value,proto.EventRaisedEvent.deserializeBinaryFromReader); + msg.setEventraised(value); + break; + case 18: + var value = new proto.GenericEvent; + reader.readMessage(value,proto.GenericEvent.deserializeBinaryFromReader); + msg.setGenericevent(value); + break; + case 19: + var value = new proto.HistoryStateEvent; + reader.readMessage(value,proto.HistoryStateEvent.deserializeBinaryFromReader); + msg.setHistorystate(value); + break; + case 20: + var value = new proto.ContinueAsNewEvent; + reader.readMessage(value,proto.ContinueAsNewEvent.deserializeBinaryFromReader); + msg.setContinueasnew(value); + break; + case 21: + var value = new proto.ExecutionSuspendedEvent; + reader.readMessage(value,proto.ExecutionSuspendedEvent.deserializeBinaryFromReader); + msg.setExecutionsuspended(value); + break; + case 22: + var value = new proto.ExecutionResumedEvent; + reader.readMessage(value,proto.ExecutionResumedEvent.deserializeBinaryFromReader); + msg.setExecutionresumed(value); + break; + case 23: + var value = new proto.EntityOperationSignaledEvent; + reader.readMessage(value,proto.EntityOperationSignaledEvent.deserializeBinaryFromReader); + msg.setEntityoperationsignaled(value); + break; + case 24: + var value = new proto.EntityOperationCalledEvent; + reader.readMessage(value,proto.EntityOperationCalledEvent.deserializeBinaryFromReader); + msg.setEntityoperationcalled(value); + break; + case 25: + var value = new proto.EntityOperationCompletedEvent; + reader.readMessage(value,proto.EntityOperationCompletedEvent.deserializeBinaryFromReader); + msg.setEntityoperationcompleted(value); + break; + case 26: + var value = new proto.EntityOperationFailedEvent; + reader.readMessage(value,proto.EntityOperationFailedEvent.deserializeBinaryFromReader); + msg.setEntityoperationfailed(value); + break; + case 27: + var value = new proto.EntityLockRequestedEvent; + reader.readMessage(value,proto.EntityLockRequestedEvent.deserializeBinaryFromReader); + msg.setEntitylockrequested(value); + break; + case 28: + var value = new proto.EntityLockGrantedEvent; + reader.readMessage(value,proto.EntityLockGrantedEvent.deserializeBinaryFromReader); + msg.setEntitylockgranted(value); + break; + case 29: + var value = new proto.EntityUnlockSentEvent; + reader.readMessage(value,proto.EntityUnlockSentEvent.deserializeBinaryFromReader); + msg.setEntityunlocksent(value); + break; + case 30: + var value = new proto.ExecutionRewoundEvent; + reader.readMessage(value,proto.ExecutionRewoundEvent.deserializeBinaryFromReader); + msg.setExecutionrewound(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.HistoryEvent.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.HistoryEvent.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.HistoryEvent} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.HistoryEvent.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEventid(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getTimestamp(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getExecutionstarted(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.ExecutionStartedEvent.serializeBinaryToWriter + ); + } + f = message.getExecutioncompleted(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.ExecutionCompletedEvent.serializeBinaryToWriter + ); + } + f = message.getExecutionterminated(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.ExecutionTerminatedEvent.serializeBinaryToWriter + ); + } + f = message.getTaskscheduled(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.TaskScheduledEvent.serializeBinaryToWriter + ); + } + f = message.getTaskcompleted(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.TaskCompletedEvent.serializeBinaryToWriter + ); + } + f = message.getTaskfailed(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.TaskFailedEvent.serializeBinaryToWriter + ); + } + f = message.getSuborchestrationinstancecreated(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.SubOrchestrationInstanceCreatedEvent.serializeBinaryToWriter + ); + } + f = message.getSuborchestrationinstancecompleted(); + if (f != null) { + writer.writeMessage( + 10, + f, + proto.SubOrchestrationInstanceCompletedEvent.serializeBinaryToWriter + ); + } + f = message.getSuborchestrationinstancefailed(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.SubOrchestrationInstanceFailedEvent.serializeBinaryToWriter + ); + } + f = message.getTimercreated(); + if (f != null) { + writer.writeMessage( + 12, + f, + proto.TimerCreatedEvent.serializeBinaryToWriter + ); + } + f = message.getTimerfired(); + if (f != null) { + writer.writeMessage( + 13, + f, + proto.TimerFiredEvent.serializeBinaryToWriter + ); + } + f = message.getOrchestratorstarted(); + if (f != null) { + writer.writeMessage( + 14, + f, + proto.OrchestratorStartedEvent.serializeBinaryToWriter + ); + } + f = message.getOrchestratorcompleted(); + if (f != null) { + writer.writeMessage( + 15, + f, + proto.OrchestratorCompletedEvent.serializeBinaryToWriter + ); + } + f = message.getEventsent(); + if (f != null) { + writer.writeMessage( + 16, + f, + proto.EventSentEvent.serializeBinaryToWriter + ); + } + f = message.getEventraised(); + if (f != null) { + writer.writeMessage( + 17, + f, + proto.EventRaisedEvent.serializeBinaryToWriter + ); + } + f = message.getGenericevent(); + if (f != null) { + writer.writeMessage( + 18, + f, + proto.GenericEvent.serializeBinaryToWriter + ); + } + f = message.getHistorystate(); + if (f != null) { + writer.writeMessage( + 19, + f, + proto.HistoryStateEvent.serializeBinaryToWriter + ); + } + f = message.getContinueasnew(); + if (f != null) { + writer.writeMessage( + 20, + f, + proto.ContinueAsNewEvent.serializeBinaryToWriter + ); + } + f = message.getExecutionsuspended(); + if (f != null) { + writer.writeMessage( + 21, + f, + proto.ExecutionSuspendedEvent.serializeBinaryToWriter + ); + } + f = message.getExecutionresumed(); + if (f != null) { + writer.writeMessage( + 22, + f, + proto.ExecutionResumedEvent.serializeBinaryToWriter + ); + } + f = message.getEntityoperationsignaled(); + if (f != null) { + writer.writeMessage( + 23, + f, + proto.EntityOperationSignaledEvent.serializeBinaryToWriter + ); + } + f = message.getEntityoperationcalled(); + if (f != null) { + writer.writeMessage( + 24, + f, + proto.EntityOperationCalledEvent.serializeBinaryToWriter + ); + } + f = message.getEntityoperationcompleted(); + if (f != null) { + writer.writeMessage( + 25, + f, + proto.EntityOperationCompletedEvent.serializeBinaryToWriter + ); + } + f = message.getEntityoperationfailed(); + if (f != null) { + writer.writeMessage( + 26, + f, + proto.EntityOperationFailedEvent.serializeBinaryToWriter + ); + } + f = message.getEntitylockrequested(); + if (f != null) { + writer.writeMessage( + 27, + f, + proto.EntityLockRequestedEvent.serializeBinaryToWriter + ); + } + f = message.getEntitylockgranted(); + if (f != null) { + writer.writeMessage( + 28, + f, + proto.EntityLockGrantedEvent.serializeBinaryToWriter + ); + } + f = message.getEntityunlocksent(); + if (f != null) { + writer.writeMessage( + 29, + f, + proto.EntityUnlockSentEvent.serializeBinaryToWriter + ); + } + f = message.getExecutionrewound(); + if (f != null) { + writer.writeMessage( + 30, + f, + proto.ExecutionRewoundEvent.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 eventId = 1; + * @return {number} + */ +proto.HistoryEvent.prototype.getEventid = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.setEventid = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional google.protobuf.Timestamp timestamp = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.HistoryEvent.prototype.getTimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setTimestamp = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearTimestamp = function() { + return this.setTimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasTimestamp = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional ExecutionStartedEvent executionStarted = 3; + * @return {?proto.ExecutionStartedEvent} + */ +proto.HistoryEvent.prototype.getExecutionstarted = function() { + return /** @type{?proto.ExecutionStartedEvent} */ ( + jspb.Message.getWrapperField(this, proto.ExecutionStartedEvent, 3)); +}; + + +/** + * @param {?proto.ExecutionStartedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setExecutionstarted = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearExecutionstarted = function() { + return this.setExecutionstarted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasExecutionstarted = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional ExecutionCompletedEvent executionCompleted = 4; + * @return {?proto.ExecutionCompletedEvent} + */ +proto.HistoryEvent.prototype.getExecutioncompleted = function() { + return /** @type{?proto.ExecutionCompletedEvent} */ ( + jspb.Message.getWrapperField(this, proto.ExecutionCompletedEvent, 4)); +}; + + +/** + * @param {?proto.ExecutionCompletedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setExecutioncompleted = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearExecutioncompleted = function() { + return this.setExecutioncompleted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasExecutioncompleted = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional ExecutionTerminatedEvent executionTerminated = 5; + * @return {?proto.ExecutionTerminatedEvent} + */ +proto.HistoryEvent.prototype.getExecutionterminated = function() { + return /** @type{?proto.ExecutionTerminatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.ExecutionTerminatedEvent, 5)); +}; + + +/** + * @param {?proto.ExecutionTerminatedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setExecutionterminated = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearExecutionterminated = function() { + return this.setExecutionterminated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasExecutionterminated = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional TaskScheduledEvent taskScheduled = 6; + * @return {?proto.TaskScheduledEvent} + */ +proto.HistoryEvent.prototype.getTaskscheduled = function() { + return /** @type{?proto.TaskScheduledEvent} */ ( + jspb.Message.getWrapperField(this, proto.TaskScheduledEvent, 6)); +}; + + +/** + * @param {?proto.TaskScheduledEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setTaskscheduled = function(value) { + return jspb.Message.setOneofWrapperField(this, 6, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearTaskscheduled = function() { + return this.setTaskscheduled(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasTaskscheduled = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional TaskCompletedEvent taskCompleted = 7; + * @return {?proto.TaskCompletedEvent} + */ +proto.HistoryEvent.prototype.getTaskcompleted = function() { + return /** @type{?proto.TaskCompletedEvent} */ ( + jspb.Message.getWrapperField(this, proto.TaskCompletedEvent, 7)); +}; + + +/** + * @param {?proto.TaskCompletedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setTaskcompleted = function(value) { + return jspb.Message.setOneofWrapperField(this, 7, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearTaskcompleted = function() { + return this.setTaskcompleted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasTaskcompleted = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional TaskFailedEvent taskFailed = 8; + * @return {?proto.TaskFailedEvent} + */ +proto.HistoryEvent.prototype.getTaskfailed = function() { + return /** @type{?proto.TaskFailedEvent} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailedEvent, 8)); +}; + + +/** + * @param {?proto.TaskFailedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setTaskfailed = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearTaskfailed = function() { + return this.setTaskfailed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasTaskfailed = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional SubOrchestrationInstanceCreatedEvent subOrchestrationInstanceCreated = 9; + * @return {?proto.SubOrchestrationInstanceCreatedEvent} + */ +proto.HistoryEvent.prototype.getSuborchestrationinstancecreated = function() { + return /** @type{?proto.SubOrchestrationInstanceCreatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.SubOrchestrationInstanceCreatedEvent, 9)); +}; + + +/** + * @param {?proto.SubOrchestrationInstanceCreatedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setSuborchestrationinstancecreated = function(value) { + return jspb.Message.setOneofWrapperField(this, 9, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearSuborchestrationinstancecreated = function() { + return this.setSuborchestrationinstancecreated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasSuborchestrationinstancecreated = function() { + return jspb.Message.getField(this, 9) != null; +}; + + +/** + * optional SubOrchestrationInstanceCompletedEvent subOrchestrationInstanceCompleted = 10; + * @return {?proto.SubOrchestrationInstanceCompletedEvent} + */ +proto.HistoryEvent.prototype.getSuborchestrationinstancecompleted = function() { + return /** @type{?proto.SubOrchestrationInstanceCompletedEvent} */ ( + jspb.Message.getWrapperField(this, proto.SubOrchestrationInstanceCompletedEvent, 10)); +}; + + +/** + * @param {?proto.SubOrchestrationInstanceCompletedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setSuborchestrationinstancecompleted = function(value) { + return jspb.Message.setOneofWrapperField(this, 10, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearSuborchestrationinstancecompleted = function() { + return this.setSuborchestrationinstancecompleted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasSuborchestrationinstancecompleted = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * optional SubOrchestrationInstanceFailedEvent subOrchestrationInstanceFailed = 11; + * @return {?proto.SubOrchestrationInstanceFailedEvent} + */ +proto.HistoryEvent.prototype.getSuborchestrationinstancefailed = function() { + return /** @type{?proto.SubOrchestrationInstanceFailedEvent} */ ( + jspb.Message.getWrapperField(this, proto.SubOrchestrationInstanceFailedEvent, 11)); +}; + + +/** + * @param {?proto.SubOrchestrationInstanceFailedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setSuborchestrationinstancefailed = function(value) { + return jspb.Message.setOneofWrapperField(this, 11, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearSuborchestrationinstancefailed = function() { + return this.setSuborchestrationinstancefailed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasSuborchestrationinstancefailed = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * optional TimerCreatedEvent timerCreated = 12; + * @return {?proto.TimerCreatedEvent} + */ +proto.HistoryEvent.prototype.getTimercreated = function() { + return /** @type{?proto.TimerCreatedEvent} */ ( + jspb.Message.getWrapperField(this, proto.TimerCreatedEvent, 12)); +}; + + +/** + * @param {?proto.TimerCreatedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setTimercreated = function(value) { + return jspb.Message.setOneofWrapperField(this, 12, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearTimercreated = function() { + return this.setTimercreated(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasTimercreated = function() { + return jspb.Message.getField(this, 12) != null; +}; + + +/** + * optional TimerFiredEvent timerFired = 13; + * @return {?proto.TimerFiredEvent} + */ +proto.HistoryEvent.prototype.getTimerfired = function() { + return /** @type{?proto.TimerFiredEvent} */ ( + jspb.Message.getWrapperField(this, proto.TimerFiredEvent, 13)); +}; + + +/** + * @param {?proto.TimerFiredEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setTimerfired = function(value) { + return jspb.Message.setOneofWrapperField(this, 13, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearTimerfired = function() { + return this.setTimerfired(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasTimerfired = function() { + return jspb.Message.getField(this, 13) != null; +}; + + +/** + * optional OrchestratorStartedEvent orchestratorStarted = 14; + * @return {?proto.OrchestratorStartedEvent} + */ +proto.HistoryEvent.prototype.getOrchestratorstarted = function() { + return /** @type{?proto.OrchestratorStartedEvent} */ ( + jspb.Message.getWrapperField(this, proto.OrchestratorStartedEvent, 14)); +}; + + +/** + * @param {?proto.OrchestratorStartedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setOrchestratorstarted = function(value) { + return jspb.Message.setOneofWrapperField(this, 14, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearOrchestratorstarted = function() { + return this.setOrchestratorstarted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasOrchestratorstarted = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * optional OrchestratorCompletedEvent orchestratorCompleted = 15; + * @return {?proto.OrchestratorCompletedEvent} + */ +proto.HistoryEvent.prototype.getOrchestratorcompleted = function() { + return /** @type{?proto.OrchestratorCompletedEvent} */ ( + jspb.Message.getWrapperField(this, proto.OrchestratorCompletedEvent, 15)); +}; + + +/** + * @param {?proto.OrchestratorCompletedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setOrchestratorcompleted = function(value) { + return jspb.Message.setOneofWrapperField(this, 15, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearOrchestratorcompleted = function() { + return this.setOrchestratorcompleted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasOrchestratorcompleted = function() { + return jspb.Message.getField(this, 15) != null; +}; + + +/** + * optional EventSentEvent eventSent = 16; + * @return {?proto.EventSentEvent} + */ +proto.HistoryEvent.prototype.getEventsent = function() { + return /** @type{?proto.EventSentEvent} */ ( + jspb.Message.getWrapperField(this, proto.EventSentEvent, 16)); +}; + + +/** + * @param {?proto.EventSentEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEventsent = function(value) { + return jspb.Message.setOneofWrapperField(this, 16, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEventsent = function() { + return this.setEventsent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEventsent = function() { + return jspb.Message.getField(this, 16) != null; +}; + + +/** + * optional EventRaisedEvent eventRaised = 17; + * @return {?proto.EventRaisedEvent} + */ +proto.HistoryEvent.prototype.getEventraised = function() { + return /** @type{?proto.EventRaisedEvent} */ ( + jspb.Message.getWrapperField(this, proto.EventRaisedEvent, 17)); +}; + + +/** + * @param {?proto.EventRaisedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEventraised = function(value) { + return jspb.Message.setOneofWrapperField(this, 17, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEventraised = function() { + return this.setEventraised(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEventraised = function() { + return jspb.Message.getField(this, 17) != null; +}; + + +/** + * optional GenericEvent genericEvent = 18; + * @return {?proto.GenericEvent} + */ +proto.HistoryEvent.prototype.getGenericevent = function() { + return /** @type{?proto.GenericEvent} */ ( + jspb.Message.getWrapperField(this, proto.GenericEvent, 18)); +}; + + +/** + * @param {?proto.GenericEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setGenericevent = function(value) { + return jspb.Message.setOneofWrapperField(this, 18, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearGenericevent = function() { + return this.setGenericevent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasGenericevent = function() { + return jspb.Message.getField(this, 18) != null; +}; + + +/** + * optional HistoryStateEvent historyState = 19; + * @return {?proto.HistoryStateEvent} + */ +proto.HistoryEvent.prototype.getHistorystate = function() { + return /** @type{?proto.HistoryStateEvent} */ ( + jspb.Message.getWrapperField(this, proto.HistoryStateEvent, 19)); +}; + + +/** + * @param {?proto.HistoryStateEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setHistorystate = function(value) { + return jspb.Message.setOneofWrapperField(this, 19, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearHistorystate = function() { + return this.setHistorystate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasHistorystate = function() { + return jspb.Message.getField(this, 19) != null; +}; + + +/** + * optional ContinueAsNewEvent continueAsNew = 20; + * @return {?proto.ContinueAsNewEvent} + */ +proto.HistoryEvent.prototype.getContinueasnew = function() { + return /** @type{?proto.ContinueAsNewEvent} */ ( + jspb.Message.getWrapperField(this, proto.ContinueAsNewEvent, 20)); +}; + + +/** + * @param {?proto.ContinueAsNewEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setContinueasnew = function(value) { + return jspb.Message.setOneofWrapperField(this, 20, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearContinueasnew = function() { + return this.setContinueasnew(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasContinueasnew = function() { + return jspb.Message.getField(this, 20) != null; +}; + + +/** + * optional ExecutionSuspendedEvent executionSuspended = 21; + * @return {?proto.ExecutionSuspendedEvent} + */ +proto.HistoryEvent.prototype.getExecutionsuspended = function() { + return /** @type{?proto.ExecutionSuspendedEvent} */ ( + jspb.Message.getWrapperField(this, proto.ExecutionSuspendedEvent, 21)); +}; + + +/** + * @param {?proto.ExecutionSuspendedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setExecutionsuspended = function(value) { + return jspb.Message.setOneofWrapperField(this, 21, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearExecutionsuspended = function() { + return this.setExecutionsuspended(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasExecutionsuspended = function() { + return jspb.Message.getField(this, 21) != null; +}; + + +/** + * optional ExecutionResumedEvent executionResumed = 22; + * @return {?proto.ExecutionResumedEvent} + */ +proto.HistoryEvent.prototype.getExecutionresumed = function() { + return /** @type{?proto.ExecutionResumedEvent} */ ( + jspb.Message.getWrapperField(this, proto.ExecutionResumedEvent, 22)); +}; + + +/** + * @param {?proto.ExecutionResumedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setExecutionresumed = function(value) { + return jspb.Message.setOneofWrapperField(this, 22, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearExecutionresumed = function() { + return this.setExecutionresumed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasExecutionresumed = function() { + return jspb.Message.getField(this, 22) != null; +}; + + +/** + * optional EntityOperationSignaledEvent entityOperationSignaled = 23; + * @return {?proto.EntityOperationSignaledEvent} + */ +proto.HistoryEvent.prototype.getEntityoperationsignaled = function() { + return /** @type{?proto.EntityOperationSignaledEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityOperationSignaledEvent, 23)); +}; + + +/** + * @param {?proto.EntityOperationSignaledEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEntityoperationsignaled = function(value) { + return jspb.Message.setOneofWrapperField(this, 23, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEntityoperationsignaled = function() { + return this.setEntityoperationsignaled(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEntityoperationsignaled = function() { + return jspb.Message.getField(this, 23) != null; +}; + + +/** + * optional EntityOperationCalledEvent entityOperationCalled = 24; + * @return {?proto.EntityOperationCalledEvent} + */ +proto.HistoryEvent.prototype.getEntityoperationcalled = function() { + return /** @type{?proto.EntityOperationCalledEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityOperationCalledEvent, 24)); +}; + + +/** + * @param {?proto.EntityOperationCalledEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEntityoperationcalled = function(value) { + return jspb.Message.setOneofWrapperField(this, 24, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEntityoperationcalled = function() { + return this.setEntityoperationcalled(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEntityoperationcalled = function() { + return jspb.Message.getField(this, 24) != null; +}; + + +/** + * optional EntityOperationCompletedEvent entityOperationCompleted = 25; + * @return {?proto.EntityOperationCompletedEvent} + */ +proto.HistoryEvent.prototype.getEntityoperationcompleted = function() { + return /** @type{?proto.EntityOperationCompletedEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityOperationCompletedEvent, 25)); +}; + + +/** + * @param {?proto.EntityOperationCompletedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEntityoperationcompleted = function(value) { + return jspb.Message.setOneofWrapperField(this, 25, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEntityoperationcompleted = function() { + return this.setEntityoperationcompleted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEntityoperationcompleted = function() { + return jspb.Message.getField(this, 25) != null; +}; + + +/** + * optional EntityOperationFailedEvent entityOperationFailed = 26; + * @return {?proto.EntityOperationFailedEvent} + */ +proto.HistoryEvent.prototype.getEntityoperationfailed = function() { + return /** @type{?proto.EntityOperationFailedEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityOperationFailedEvent, 26)); +}; + + +/** + * @param {?proto.EntityOperationFailedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEntityoperationfailed = function(value) { + return jspb.Message.setOneofWrapperField(this, 26, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEntityoperationfailed = function() { + return this.setEntityoperationfailed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEntityoperationfailed = function() { + return jspb.Message.getField(this, 26) != null; +}; + + +/** + * optional EntityLockRequestedEvent entityLockRequested = 27; + * @return {?proto.EntityLockRequestedEvent} + */ +proto.HistoryEvent.prototype.getEntitylockrequested = function() { + return /** @type{?proto.EntityLockRequestedEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityLockRequestedEvent, 27)); +}; + + +/** + * @param {?proto.EntityLockRequestedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEntitylockrequested = function(value) { + return jspb.Message.setOneofWrapperField(this, 27, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEntitylockrequested = function() { + return this.setEntitylockrequested(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEntitylockrequested = function() { + return jspb.Message.getField(this, 27) != null; +}; + + +/** + * optional EntityLockGrantedEvent entityLockGranted = 28; + * @return {?proto.EntityLockGrantedEvent} + */ +proto.HistoryEvent.prototype.getEntitylockgranted = function() { + return /** @type{?proto.EntityLockGrantedEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityLockGrantedEvent, 28)); +}; + + +/** + * @param {?proto.EntityLockGrantedEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEntitylockgranted = function(value) { + return jspb.Message.setOneofWrapperField(this, 28, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEntitylockgranted = function() { + return this.setEntitylockgranted(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEntitylockgranted = function() { + return jspb.Message.getField(this, 28) != null; +}; + + +/** + * optional EntityUnlockSentEvent entityUnlockSent = 29; + * @return {?proto.EntityUnlockSentEvent} + */ +proto.HistoryEvent.prototype.getEntityunlocksent = function() { + return /** @type{?proto.EntityUnlockSentEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityUnlockSentEvent, 29)); +}; + + +/** + * @param {?proto.EntityUnlockSentEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setEntityunlocksent = function(value) { + return jspb.Message.setOneofWrapperField(this, 29, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearEntityunlocksent = function() { + return this.setEntityunlocksent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasEntityunlocksent = function() { + return jspb.Message.getField(this, 29) != null; +}; + + +/** + * optional ExecutionRewoundEvent executionRewound = 30; + * @return {?proto.ExecutionRewoundEvent} + */ +proto.HistoryEvent.prototype.getExecutionrewound = function() { + return /** @type{?proto.ExecutionRewoundEvent} */ ( + jspb.Message.getWrapperField(this, proto.ExecutionRewoundEvent, 30)); +}; + + +/** + * @param {?proto.ExecutionRewoundEvent|undefined} value + * @return {!proto.HistoryEvent} returns this +*/ +proto.HistoryEvent.prototype.setExecutionrewound = function(value) { + return jspb.Message.setOneofWrapperField(this, 30, proto.HistoryEvent.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.HistoryEvent} returns this + */ +proto.HistoryEvent.prototype.clearExecutionrewound = function() { + return this.setExecutionrewound(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.HistoryEvent.prototype.hasExecutionrewound = function() { + return jspb.Message.getField(this, 30) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ScheduleTaskAction.prototype.toObject = function(opt_includeInstance) { + return proto.ScheduleTaskAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ScheduleTaskAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ScheduleTaskAction.toObject = function(includeInstance, msg) { + var f, obj = { + name: jspb.Message.getFieldWithDefault(msg, 1, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [], + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ScheduleTaskAction} + */ +proto.ScheduleTaskAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ScheduleTaskAction; + return proto.ScheduleTaskAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ScheduleTaskAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ScheduleTaskAction} + */ +proto.ScheduleTaskAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 4: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 5: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ScheduleTaskAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ScheduleTaskAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ScheduleTaskAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ScheduleTaskAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string name = 1; + * @return {string} + */ +proto.ScheduleTaskAction.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ScheduleTaskAction} returns this + */ +proto.ScheduleTaskAction.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue version = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ScheduleTaskAction.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ScheduleTaskAction} returns this +*/ +proto.ScheduleTaskAction.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ScheduleTaskAction} returns this + */ +proto.ScheduleTaskAction.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ScheduleTaskAction.prototype.hasVersion = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ScheduleTaskAction.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ScheduleTaskAction} returns this +*/ +proto.ScheduleTaskAction.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ScheduleTaskAction} returns this + */ +proto.ScheduleTaskAction.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ScheduleTaskAction.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * map tags = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.ScheduleTaskAction.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.ScheduleTaskAction} returns this + */ +proto.ScheduleTaskAction.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + +/** + * optional TraceContext parentTraceContext = 5; + * @return {?proto.TraceContext} + */ +proto.ScheduleTaskAction.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 5)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.ScheduleTaskAction} returns this +*/ +proto.ScheduleTaskAction.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ScheduleTaskAction} returns this + */ +proto.ScheduleTaskAction.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ScheduleTaskAction.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CreateSubOrchestrationAction.prototype.toObject = function(opt_includeInstance) { + return proto.CreateSubOrchestrationAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CreateSubOrchestrationAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateSubOrchestrationAction.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CreateSubOrchestrationAction} + */ +proto.CreateSubOrchestrationAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CreateSubOrchestrationAction; + return proto.CreateSubOrchestrationAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CreateSubOrchestrationAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CreateSubOrchestrationAction} + */ +proto.CreateSubOrchestrationAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 5: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + case 6: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CreateSubOrchestrationAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CreateSubOrchestrationAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CreateSubOrchestrationAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateSubOrchestrationAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.CreateSubOrchestrationAction.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.CreateSubOrchestrationAction} returns this + */ +proto.CreateSubOrchestrationAction.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.CreateSubOrchestrationAction.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.CreateSubOrchestrationAction} returns this + */ +proto.CreateSubOrchestrationAction.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue version = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CreateSubOrchestrationAction.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CreateSubOrchestrationAction} returns this +*/ +proto.CreateSubOrchestrationAction.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateSubOrchestrationAction} returns this + */ +proto.CreateSubOrchestrationAction.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateSubOrchestrationAction.prototype.hasVersion = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CreateSubOrchestrationAction.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CreateSubOrchestrationAction} returns this +*/ +proto.CreateSubOrchestrationAction.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateSubOrchestrationAction} returns this + */ +proto.CreateSubOrchestrationAction.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateSubOrchestrationAction.prototype.hasInput = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional TraceContext parentTraceContext = 5; + * @return {?proto.TraceContext} + */ +proto.CreateSubOrchestrationAction.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 5)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.CreateSubOrchestrationAction} returns this +*/ +proto.CreateSubOrchestrationAction.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateSubOrchestrationAction} returns this + */ +proto.CreateSubOrchestrationAction.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateSubOrchestrationAction.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * map tags = 6; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.CreateSubOrchestrationAction.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 6, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.CreateSubOrchestrationAction} returns this + */ +proto.CreateSubOrchestrationAction.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CreateTimerAction.prototype.toObject = function(opt_includeInstance) { + return proto.CreateTimerAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CreateTimerAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateTimerAction.toObject = function(includeInstance, msg) { + var f, obj = { + fireat: (f = msg.getFireat()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CreateTimerAction} + */ +proto.CreateTimerAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CreateTimerAction; + return proto.CreateTimerAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CreateTimerAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CreateTimerAction} + */ +proto.CreateTimerAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setFireat(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CreateTimerAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CreateTimerAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CreateTimerAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateTimerAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFireat(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.Timestamp fireAt = 1; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.CreateTimerAction.prototype.getFireat = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.CreateTimerAction} returns this +*/ +proto.CreateTimerAction.prototype.setFireat = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateTimerAction} returns this + */ +proto.CreateTimerAction.prototype.clearFireat = function() { + return this.setFireat(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateTimerAction.prototype.hasFireat = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SendEventAction.prototype.toObject = function(opt_includeInstance) { + return proto.SendEventAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SendEventAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SendEventAction.toObject = function(includeInstance, msg) { + var f, obj = { + instance: (f = msg.getInstance()) && proto.OrchestrationInstance.toObject(includeInstance, f), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + data: (f = msg.getData()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SendEventAction} + */ +proto.SendEventAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SendEventAction; + return proto.SendEventAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SendEventAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SendEventAction} + */ +proto.SendEventAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.OrchestrationInstance; + reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); + msg.setInstance(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setData(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SendEventAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SendEventAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SendEventAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SendEventAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstance(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.OrchestrationInstance.serializeBinaryToWriter + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getData(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional OrchestrationInstance instance = 1; + * @return {?proto.OrchestrationInstance} + */ +proto.SendEventAction.prototype.getInstance = function() { + return /** @type{?proto.OrchestrationInstance} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 1)); +}; + + +/** + * @param {?proto.OrchestrationInstance|undefined} value + * @return {!proto.SendEventAction} returns this +*/ +proto.SendEventAction.prototype.setInstance = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendEventAction} returns this + */ +proto.SendEventAction.prototype.clearInstance = function() { + return this.setInstance(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendEventAction.prototype.hasInstance = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.SendEventAction.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SendEventAction} returns this + */ +proto.SendEventAction.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue data = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.SendEventAction.prototype.getData = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.SendEventAction} returns this +*/ +proto.SendEventAction.prototype.setData = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendEventAction} returns this + */ +proto.SendEventAction.prototype.clearData = function() { + return this.setData(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendEventAction.prototype.hasData = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.CompleteOrchestrationAction.repeatedFields_ = [5]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CompleteOrchestrationAction.prototype.toObject = function(opt_includeInstance) { + return proto.CompleteOrchestrationAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CompleteOrchestrationAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CompleteOrchestrationAction.toObject = function(includeInstance, msg) { + var f, obj = { + orchestrationstatus: jspb.Message.getFieldWithDefault(msg, 1, 0), + result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + details: (f = msg.getDetails()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + newversion: (f = msg.getNewversion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + carryovereventsList: jspb.Message.toObjectList(msg.getCarryovereventsList(), + proto.HistoryEvent.toObject, includeInstance), + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CompleteOrchestrationAction} + */ +proto.CompleteOrchestrationAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CompleteOrchestrationAction; + return proto.CompleteOrchestrationAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CompleteOrchestrationAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CompleteOrchestrationAction} + */ +proto.CompleteOrchestrationAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {!proto.OrchestrationStatus} */ (reader.readEnum()); + msg.setOrchestrationstatus(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setResult(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setDetails(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setNewversion(value); + break; + case 5: + var value = new proto.HistoryEvent; + reader.readMessage(value,proto.HistoryEvent.deserializeBinaryFromReader); + msg.addCarryoverevents(value); + break; + case 6: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + case 7: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CompleteOrchestrationAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CompleteOrchestrationAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CompleteOrchestrationAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CompleteOrchestrationAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOrchestrationstatus(); + if (f !== 0.0) { + writer.writeEnum( + 1, + f + ); + } + f = message.getResult(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getDetails(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getNewversion(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getCarryovereventsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 5, + f, + proto.HistoryEvent.serializeBinaryToWriter + ); + } + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional OrchestrationStatus orchestrationStatus = 1; + * @return {!proto.OrchestrationStatus} + */ +proto.CompleteOrchestrationAction.prototype.getOrchestrationstatus = function() { + return /** @type {!proto.OrchestrationStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {!proto.OrchestrationStatus} value + * @return {!proto.CompleteOrchestrationAction} returns this + */ +proto.CompleteOrchestrationAction.prototype.setOrchestrationstatus = function(value) { + return jspb.Message.setProto3EnumField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue result = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CompleteOrchestrationAction.prototype.getResult = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CompleteOrchestrationAction} returns this +*/ +proto.CompleteOrchestrationAction.prototype.setResult = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CompleteOrchestrationAction} returns this + */ +proto.CompleteOrchestrationAction.prototype.clearResult = function() { + return this.setResult(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CompleteOrchestrationAction.prototype.hasResult = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.StringValue details = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CompleteOrchestrationAction.prototype.getDetails = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CompleteOrchestrationAction} returns this +*/ +proto.CompleteOrchestrationAction.prototype.setDetails = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CompleteOrchestrationAction} returns this + */ +proto.CompleteOrchestrationAction.prototype.clearDetails = function() { + return this.setDetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CompleteOrchestrationAction.prototype.hasDetails = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.StringValue newVersion = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CompleteOrchestrationAction.prototype.getNewversion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CompleteOrchestrationAction} returns this +*/ +proto.CompleteOrchestrationAction.prototype.setNewversion = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CompleteOrchestrationAction} returns this + */ +proto.CompleteOrchestrationAction.prototype.clearNewversion = function() { + return this.setNewversion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CompleteOrchestrationAction.prototype.hasNewversion = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * repeated HistoryEvent carryoverEvents = 5; + * @return {!Array} + */ +proto.CompleteOrchestrationAction.prototype.getCarryovereventsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.HistoryEvent, 5)); +}; + + +/** + * @param {!Array} value + * @return {!proto.CompleteOrchestrationAction} returns this +*/ +proto.CompleteOrchestrationAction.prototype.setCarryovereventsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 5, value); +}; + + +/** + * @param {!proto.HistoryEvent=} opt_value + * @param {number=} opt_index + * @return {!proto.HistoryEvent} + */ +proto.CompleteOrchestrationAction.prototype.addCarryoverevents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.HistoryEvent, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.CompleteOrchestrationAction} returns this + */ +proto.CompleteOrchestrationAction.prototype.clearCarryovereventsList = function() { + return this.setCarryovereventsList([]); +}; + + +/** + * optional TaskFailureDetails failureDetails = 6; + * @return {?proto.TaskFailureDetails} + */ +proto.CompleteOrchestrationAction.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 6)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.CompleteOrchestrationAction} returns this +*/ +proto.CompleteOrchestrationAction.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CompleteOrchestrationAction} returns this + */ +proto.CompleteOrchestrationAction.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CompleteOrchestrationAction.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * map tags = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.CompleteOrchestrationAction.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.CompleteOrchestrationAction} returns this + */ +proto.CompleteOrchestrationAction.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TerminateOrchestrationAction.prototype.toObject = function(opt_includeInstance) { + return proto.TerminateOrchestrationAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TerminateOrchestrationAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TerminateOrchestrationAction.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + recurse: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TerminateOrchestrationAction} + */ +proto.TerminateOrchestrationAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TerminateOrchestrationAction; + return proto.TerminateOrchestrationAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TerminateOrchestrationAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TerminateOrchestrationAction} + */ +proto.TerminateOrchestrationAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setReason(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRecurse(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TerminateOrchestrationAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TerminateOrchestrationAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TerminateOrchestrationAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TerminateOrchestrationAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getReason(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getRecurse(); + if (f) { + writer.writeBool( + 3, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.TerminateOrchestrationAction.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.TerminateOrchestrationAction} returns this + */ +proto.TerminateOrchestrationAction.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue reason = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.TerminateOrchestrationAction.prototype.getReason = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.TerminateOrchestrationAction} returns this +*/ +proto.TerminateOrchestrationAction.prototype.setReason = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TerminateOrchestrationAction} returns this + */ +proto.TerminateOrchestrationAction.prototype.clearReason = function() { + return this.setReason(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TerminateOrchestrationAction.prototype.hasReason = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool recurse = 3; + * @return {boolean} + */ +proto.TerminateOrchestrationAction.prototype.getRecurse = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.TerminateOrchestrationAction} returns this + */ +proto.TerminateOrchestrationAction.prototype.setRecurse = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.SendEntityMessageAction.oneofGroups_ = [[1,2,3,4]]; + +/** + * @enum {number} + */ +proto.SendEntityMessageAction.EntitymessagetypeCase = { + ENTITYMESSAGETYPE_NOT_SET: 0, + ENTITYOPERATIONSIGNALED: 1, + ENTITYOPERATIONCALLED: 2, + ENTITYLOCKREQUESTED: 3, + ENTITYUNLOCKSENT: 4 +}; + +/** + * @return {proto.SendEntityMessageAction.EntitymessagetypeCase} + */ +proto.SendEntityMessageAction.prototype.getEntitymessagetypeCase = function() { + return /** @type {proto.SendEntityMessageAction.EntitymessagetypeCase} */(jspb.Message.computeOneofCase(this, proto.SendEntityMessageAction.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SendEntityMessageAction.prototype.toObject = function(opt_includeInstance) { + return proto.SendEntityMessageAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SendEntityMessageAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SendEntityMessageAction.toObject = function(includeInstance, msg) { + var f, obj = { + entityoperationsignaled: (f = msg.getEntityoperationsignaled()) && proto.EntityOperationSignaledEvent.toObject(includeInstance, f), + entityoperationcalled: (f = msg.getEntityoperationcalled()) && proto.EntityOperationCalledEvent.toObject(includeInstance, f), + entitylockrequested: (f = msg.getEntitylockrequested()) && proto.EntityLockRequestedEvent.toObject(includeInstance, f), + entityunlocksent: (f = msg.getEntityunlocksent()) && proto.EntityUnlockSentEvent.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SendEntityMessageAction} + */ +proto.SendEntityMessageAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SendEntityMessageAction; + return proto.SendEntityMessageAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SendEntityMessageAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SendEntityMessageAction} + */ +proto.SendEntityMessageAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.EntityOperationSignaledEvent; + reader.readMessage(value,proto.EntityOperationSignaledEvent.deserializeBinaryFromReader); + msg.setEntityoperationsignaled(value); + break; + case 2: + var value = new proto.EntityOperationCalledEvent; + reader.readMessage(value,proto.EntityOperationCalledEvent.deserializeBinaryFromReader); + msg.setEntityoperationcalled(value); + break; + case 3: + var value = new proto.EntityLockRequestedEvent; + reader.readMessage(value,proto.EntityLockRequestedEvent.deserializeBinaryFromReader); + msg.setEntitylockrequested(value); + break; + case 4: + var value = new proto.EntityUnlockSentEvent; + reader.readMessage(value,proto.EntityUnlockSentEvent.deserializeBinaryFromReader); + msg.setEntityunlocksent(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SendEntityMessageAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SendEntityMessageAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SendEntityMessageAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SendEntityMessageAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEntityoperationsignaled(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.EntityOperationSignaledEvent.serializeBinaryToWriter + ); + } + f = message.getEntityoperationcalled(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.EntityOperationCalledEvent.serializeBinaryToWriter + ); + } + f = message.getEntitylockrequested(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.EntityLockRequestedEvent.serializeBinaryToWriter + ); + } + f = message.getEntityunlocksent(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.EntityUnlockSentEvent.serializeBinaryToWriter + ); + } +}; + + +/** + * optional EntityOperationSignaledEvent entityOperationSignaled = 1; + * @return {?proto.EntityOperationSignaledEvent} + */ +proto.SendEntityMessageAction.prototype.getEntityoperationsignaled = function() { + return /** @type{?proto.EntityOperationSignaledEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityOperationSignaledEvent, 1)); +}; + + +/** + * @param {?proto.EntityOperationSignaledEvent|undefined} value + * @return {!proto.SendEntityMessageAction} returns this +*/ +proto.SendEntityMessageAction.prototype.setEntityoperationsignaled = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.SendEntityMessageAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendEntityMessageAction} returns this + */ +proto.SendEntityMessageAction.prototype.clearEntityoperationsignaled = function() { + return this.setEntityoperationsignaled(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendEntityMessageAction.prototype.hasEntityoperationsignaled = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional EntityOperationCalledEvent entityOperationCalled = 2; + * @return {?proto.EntityOperationCalledEvent} + */ +proto.SendEntityMessageAction.prototype.getEntityoperationcalled = function() { + return /** @type{?proto.EntityOperationCalledEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityOperationCalledEvent, 2)); +}; + + +/** + * @param {?proto.EntityOperationCalledEvent|undefined} value + * @return {!proto.SendEntityMessageAction} returns this +*/ +proto.SendEntityMessageAction.prototype.setEntityoperationcalled = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.SendEntityMessageAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendEntityMessageAction} returns this + */ +proto.SendEntityMessageAction.prototype.clearEntityoperationcalled = function() { + return this.setEntityoperationcalled(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendEntityMessageAction.prototype.hasEntityoperationcalled = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional EntityLockRequestedEvent entityLockRequested = 3; + * @return {?proto.EntityLockRequestedEvent} + */ +proto.SendEntityMessageAction.prototype.getEntitylockrequested = function() { + return /** @type{?proto.EntityLockRequestedEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityLockRequestedEvent, 3)); +}; + + +/** + * @param {?proto.EntityLockRequestedEvent|undefined} value + * @return {!proto.SendEntityMessageAction} returns this +*/ +proto.SendEntityMessageAction.prototype.setEntitylockrequested = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.SendEntityMessageAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendEntityMessageAction} returns this + */ +proto.SendEntityMessageAction.prototype.clearEntitylockrequested = function() { + return this.setEntitylockrequested(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendEntityMessageAction.prototype.hasEntitylockrequested = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional EntityUnlockSentEvent entityUnlockSent = 4; + * @return {?proto.EntityUnlockSentEvent} + */ +proto.SendEntityMessageAction.prototype.getEntityunlocksent = function() { + return /** @type{?proto.EntityUnlockSentEvent} */ ( + jspb.Message.getWrapperField(this, proto.EntityUnlockSentEvent, 4)); +}; + + +/** + * @param {?proto.EntityUnlockSentEvent|undefined} value + * @return {!proto.SendEntityMessageAction} returns this +*/ +proto.SendEntityMessageAction.prototype.setEntityunlocksent = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.SendEntityMessageAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendEntityMessageAction} returns this + */ +proto.SendEntityMessageAction.prototype.clearEntityunlocksent = function() { + return this.setEntityunlocksent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendEntityMessageAction.prototype.hasEntityunlocksent = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.OrchestratorAction.oneofGroups_ = [[2,3,4,5,6,7,8]]; + +/** + * @enum {number} + */ +proto.OrchestratorAction.OrchestratoractiontypeCase = { + ORCHESTRATORACTIONTYPE_NOT_SET: 0, + SCHEDULETASK: 2, + CREATESUBORCHESTRATION: 3, + CREATETIMER: 4, + SENDEVENT: 5, + COMPLETEORCHESTRATION: 6, + TERMINATEORCHESTRATION: 7, + SENDENTITYMESSAGE: 8 +}; + +/** + * @return {proto.OrchestratorAction.OrchestratoractiontypeCase} + */ +proto.OrchestratorAction.prototype.getOrchestratoractiontypeCase = function() { + return /** @type {proto.OrchestratorAction.OrchestratoractiontypeCase} */(jspb.Message.computeOneofCase(this, proto.OrchestratorAction.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestratorAction.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestratorAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestratorAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorAction.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, 0), + scheduletask: (f = msg.getScheduletask()) && proto.ScheduleTaskAction.toObject(includeInstance, f), + createsuborchestration: (f = msg.getCreatesuborchestration()) && proto.CreateSubOrchestrationAction.toObject(includeInstance, f), + createtimer: (f = msg.getCreatetimer()) && proto.CreateTimerAction.toObject(includeInstance, f), + sendevent: (f = msg.getSendevent()) && proto.SendEventAction.toObject(includeInstance, f), + completeorchestration: (f = msg.getCompleteorchestration()) && proto.CompleteOrchestrationAction.toObject(includeInstance, f), + terminateorchestration: (f = msg.getTerminateorchestration()) && proto.TerminateOrchestrationAction.toObject(includeInstance, f), + sendentitymessage: (f = msg.getSendentitymessage()) && proto.SendEntityMessageAction.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestratorAction} + */ +proto.OrchestratorAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestratorAction; + return proto.OrchestratorAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestratorAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestratorAction} + */ +proto.OrchestratorAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setId(value); + break; + case 2: + var value = new proto.ScheduleTaskAction; + reader.readMessage(value,proto.ScheduleTaskAction.deserializeBinaryFromReader); + msg.setScheduletask(value); + break; + case 3: + var value = new proto.CreateSubOrchestrationAction; + reader.readMessage(value,proto.CreateSubOrchestrationAction.deserializeBinaryFromReader); + msg.setCreatesuborchestration(value); + break; + case 4: + var value = new proto.CreateTimerAction; + reader.readMessage(value,proto.CreateTimerAction.deserializeBinaryFromReader); + msg.setCreatetimer(value); + break; + case 5: + var value = new proto.SendEventAction; + reader.readMessage(value,proto.SendEventAction.deserializeBinaryFromReader); + msg.setSendevent(value); + break; + case 6: + var value = new proto.CompleteOrchestrationAction; + reader.readMessage(value,proto.CompleteOrchestrationAction.deserializeBinaryFromReader); + msg.setCompleteorchestration(value); + break; + case 7: + var value = new proto.TerminateOrchestrationAction; + reader.readMessage(value,proto.TerminateOrchestrationAction.deserializeBinaryFromReader); + msg.setTerminateorchestration(value); + break; + case 8: + var value = new proto.SendEntityMessageAction; + reader.readMessage(value,proto.SendEntityMessageAction.deserializeBinaryFromReader); + msg.setSendentitymessage(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestratorAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestratorAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestratorAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getScheduletask(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.ScheduleTaskAction.serializeBinaryToWriter + ); + } + f = message.getCreatesuborchestration(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.CreateSubOrchestrationAction.serializeBinaryToWriter + ); + } + f = message.getCreatetimer(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.CreateTimerAction.serializeBinaryToWriter + ); + } + f = message.getSendevent(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.SendEventAction.serializeBinaryToWriter + ); + } + f = message.getCompleteorchestration(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.CompleteOrchestrationAction.serializeBinaryToWriter + ); + } + f = message.getTerminateorchestration(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.TerminateOrchestrationAction.serializeBinaryToWriter + ); + } + f = message.getSendentitymessage(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.SendEntityMessageAction.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 id = 1; + * @return {number} + */ +proto.OrchestratorAction.prototype.getId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.OrchestratorAction} returns this + */ +proto.OrchestratorAction.prototype.setId = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional ScheduleTaskAction scheduleTask = 2; + * @return {?proto.ScheduleTaskAction} + */ +proto.OrchestratorAction.prototype.getScheduletask = function() { + return /** @type{?proto.ScheduleTaskAction} */ ( + jspb.Message.getWrapperField(this, proto.ScheduleTaskAction, 2)); +}; + + +/** + * @param {?proto.ScheduleTaskAction|undefined} value + * @return {!proto.OrchestratorAction} returns this +*/ +proto.OrchestratorAction.prototype.setScheduletask = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.OrchestratorAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorAction} returns this + */ +proto.OrchestratorAction.prototype.clearScheduletask = function() { + return this.setScheduletask(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorAction.prototype.hasScheduletask = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional CreateSubOrchestrationAction createSubOrchestration = 3; + * @return {?proto.CreateSubOrchestrationAction} + */ +proto.OrchestratorAction.prototype.getCreatesuborchestration = function() { + return /** @type{?proto.CreateSubOrchestrationAction} */ ( + jspb.Message.getWrapperField(this, proto.CreateSubOrchestrationAction, 3)); +}; + + +/** + * @param {?proto.CreateSubOrchestrationAction|undefined} value + * @return {!proto.OrchestratorAction} returns this +*/ +proto.OrchestratorAction.prototype.setCreatesuborchestration = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.OrchestratorAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorAction} returns this + */ +proto.OrchestratorAction.prototype.clearCreatesuborchestration = function() { + return this.setCreatesuborchestration(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorAction.prototype.hasCreatesuborchestration = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional CreateTimerAction createTimer = 4; + * @return {?proto.CreateTimerAction} + */ +proto.OrchestratorAction.prototype.getCreatetimer = function() { + return /** @type{?proto.CreateTimerAction} */ ( + jspb.Message.getWrapperField(this, proto.CreateTimerAction, 4)); +}; + + +/** + * @param {?proto.CreateTimerAction|undefined} value + * @return {!proto.OrchestratorAction} returns this +*/ +proto.OrchestratorAction.prototype.setCreatetimer = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.OrchestratorAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorAction} returns this + */ +proto.OrchestratorAction.prototype.clearCreatetimer = function() { + return this.setCreatetimer(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorAction.prototype.hasCreatetimer = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional SendEventAction sendEvent = 5; + * @return {?proto.SendEventAction} + */ +proto.OrchestratorAction.prototype.getSendevent = function() { + return /** @type{?proto.SendEventAction} */ ( + jspb.Message.getWrapperField(this, proto.SendEventAction, 5)); +}; + + +/** + * @param {?proto.SendEventAction|undefined} value + * @return {!proto.OrchestratorAction} returns this +*/ +proto.OrchestratorAction.prototype.setSendevent = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.OrchestratorAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorAction} returns this + */ +proto.OrchestratorAction.prototype.clearSendevent = function() { + return this.setSendevent(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorAction.prototype.hasSendevent = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional CompleteOrchestrationAction completeOrchestration = 6; + * @return {?proto.CompleteOrchestrationAction} + */ +proto.OrchestratorAction.prototype.getCompleteorchestration = function() { + return /** @type{?proto.CompleteOrchestrationAction} */ ( + jspb.Message.getWrapperField(this, proto.CompleteOrchestrationAction, 6)); +}; + + +/** + * @param {?proto.CompleteOrchestrationAction|undefined} value + * @return {!proto.OrchestratorAction} returns this +*/ +proto.OrchestratorAction.prototype.setCompleteorchestration = function(value) { + return jspb.Message.setOneofWrapperField(this, 6, proto.OrchestratorAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorAction} returns this + */ +proto.OrchestratorAction.prototype.clearCompleteorchestration = function() { + return this.setCompleteorchestration(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorAction.prototype.hasCompleteorchestration = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional TerminateOrchestrationAction terminateOrchestration = 7; + * @return {?proto.TerminateOrchestrationAction} + */ +proto.OrchestratorAction.prototype.getTerminateorchestration = function() { + return /** @type{?proto.TerminateOrchestrationAction} */ ( + jspb.Message.getWrapperField(this, proto.TerminateOrchestrationAction, 7)); +}; + + +/** + * @param {?proto.TerminateOrchestrationAction|undefined} value + * @return {!proto.OrchestratorAction} returns this +*/ +proto.OrchestratorAction.prototype.setTerminateorchestration = function(value) { + return jspb.Message.setOneofWrapperField(this, 7, proto.OrchestratorAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorAction} returns this + */ +proto.OrchestratorAction.prototype.clearTerminateorchestration = function() { + return this.setTerminateorchestration(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorAction.prototype.hasTerminateorchestration = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional SendEntityMessageAction sendEntityMessage = 8; + * @return {?proto.SendEntityMessageAction} + */ +proto.OrchestratorAction.prototype.getSendentitymessage = function() { + return /** @type{?proto.SendEntityMessageAction} */ ( + jspb.Message.getWrapperField(this, proto.SendEntityMessageAction, 8)); +}; + + +/** + * @param {?proto.SendEntityMessageAction|undefined} value + * @return {!proto.OrchestratorAction} returns this +*/ +proto.OrchestratorAction.prototype.setSendentitymessage = function(value) { + return jspb.Message.setOneofWrapperField(this, 8, proto.OrchestratorAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorAction} returns this + */ +proto.OrchestratorAction.prototype.clearSendentitymessage = function() { + return this.setSendentitymessage(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorAction.prototype.hasSendentitymessage = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestrationTraceContext.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestrationTraceContext.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestrationTraceContext} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestrationTraceContext.toObject = function(includeInstance, msg) { + var f, obj = { + spanid: (f = msg.getSpanid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + spanstarttime: (f = msg.getSpanstarttime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestrationTraceContext} + */ +proto.OrchestrationTraceContext.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestrationTraceContext; + return proto.OrchestrationTraceContext.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestrationTraceContext} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestrationTraceContext} + */ +proto.OrchestrationTraceContext.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setSpanid(value); + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setSpanstarttime(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestrationTraceContext.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestrationTraceContext.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestrationTraceContext} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestrationTraceContext.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSpanid(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getSpanstarttime(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.StringValue spanID = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestrationTraceContext.prototype.getSpanid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestrationTraceContext} returns this +*/ +proto.OrchestrationTraceContext.prototype.setSpanid = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationTraceContext} returns this + */ +proto.OrchestrationTraceContext.prototype.clearSpanid = function() { + return this.setSpanid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationTraceContext.prototype.hasSpanid = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional google.protobuf.Timestamp spanStartTime = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OrchestrationTraceContext.prototype.getSpanstarttime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OrchestrationTraceContext} returns this +*/ +proto.OrchestrationTraceContext.prototype.setSpanstarttime = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationTraceContext} returns this + */ +proto.OrchestrationTraceContext.prototype.clearSpanstarttime = function() { + return this.setSpanstarttime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationTraceContext.prototype.hasSpanstarttime = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.OrchestratorRequest.repeatedFields_ = [3,4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestratorRequest.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestratorRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestratorRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + executionid: (f = msg.getExecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + pasteventsList: jspb.Message.toObjectList(msg.getPasteventsList(), + proto.HistoryEvent.toObject, includeInstance), + neweventsList: jspb.Message.toObjectList(msg.getNeweventsList(), + proto.HistoryEvent.toObject, includeInstance), + entityparameters: (f = msg.getEntityparameters()) && proto.OrchestratorEntityParameters.toObject(includeInstance, f), + requireshistorystreaming: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), + propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [], + orchestrationtracecontext: (f = msg.getOrchestrationtracecontext()) && proto.OrchestrationTraceContext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestratorRequest} + */ +proto.OrchestratorRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestratorRequest; + return proto.OrchestratorRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestratorRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestratorRequest} + */ +proto.OrchestratorRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setExecutionid(value); + break; + case 3: + var value = new proto.HistoryEvent; + reader.readMessage(value,proto.HistoryEvent.deserializeBinaryFromReader); + msg.addPastevents(value); + break; + case 4: + var value = new proto.HistoryEvent; + reader.readMessage(value,proto.HistoryEvent.deserializeBinaryFromReader); + msg.addNewevents(value); + break; + case 5: + var value = new proto.OrchestratorEntityParameters; + reader.readMessage(value,proto.OrchestratorEntityParameters.deserializeBinaryFromReader); + msg.setEntityparameters(value); + break; + case 6: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRequireshistorystreaming(value); + break; + case 7: + var value = msg.getPropertiesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + case 8: + var value = new proto.OrchestrationTraceContext; + reader.readMessage(value,proto.OrchestrationTraceContext.deserializeBinaryFromReader); + msg.setOrchestrationtracecontext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestratorRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestratorRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestratorRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getExecutionid(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getPasteventsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.HistoryEvent.serializeBinaryToWriter + ); + } + f = message.getNeweventsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.HistoryEvent.serializeBinaryToWriter + ); + } + f = message.getEntityparameters(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.OrchestratorEntityParameters.serializeBinaryToWriter + ); + } + f = message.getRequireshistorystreaming(); + if (f) { + writer.writeBool( + 6, + f + ); + } + f = message.getPropertiesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } + f = message.getOrchestrationtracecontext(); + if (f != null) { + writer.writeMessage( + 8, + f, + proto.OrchestrationTraceContext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.OrchestratorRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OrchestratorRequest} returns this + */ +proto.OrchestratorRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue executionId = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestratorRequest.prototype.getExecutionid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestratorRequest} returns this +*/ +proto.OrchestratorRequest.prototype.setExecutionid = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorRequest} returns this + */ +proto.OrchestratorRequest.prototype.clearExecutionid = function() { + return this.setExecutionid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorRequest.prototype.hasExecutionid = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * repeated HistoryEvent pastEvents = 3; + * @return {!Array} + */ +proto.OrchestratorRequest.prototype.getPasteventsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.HistoryEvent, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.OrchestratorRequest} returns this +*/ +proto.OrchestratorRequest.prototype.setPasteventsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.HistoryEvent=} opt_value + * @param {number=} opt_index + * @return {!proto.HistoryEvent} + */ +proto.OrchestratorRequest.prototype.addPastevents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.HistoryEvent, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.OrchestratorRequest} returns this + */ +proto.OrchestratorRequest.prototype.clearPasteventsList = function() { + return this.setPasteventsList([]); +}; + + +/** + * repeated HistoryEvent newEvents = 4; + * @return {!Array} + */ +proto.OrchestratorRequest.prototype.getNeweventsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.HistoryEvent, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.OrchestratorRequest} returns this +*/ +proto.OrchestratorRequest.prototype.setNeweventsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.HistoryEvent=} opt_value + * @param {number=} opt_index + * @return {!proto.HistoryEvent} + */ +proto.OrchestratorRequest.prototype.addNewevents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.HistoryEvent, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.OrchestratorRequest} returns this + */ +proto.OrchestratorRequest.prototype.clearNeweventsList = function() { + return this.setNeweventsList([]); +}; + + +/** + * optional OrchestratorEntityParameters entityParameters = 5; + * @return {?proto.OrchestratorEntityParameters} + */ +proto.OrchestratorRequest.prototype.getEntityparameters = function() { + return /** @type{?proto.OrchestratorEntityParameters} */ ( + jspb.Message.getWrapperField(this, proto.OrchestratorEntityParameters, 5)); +}; + + +/** + * @param {?proto.OrchestratorEntityParameters|undefined} value + * @return {!proto.OrchestratorRequest} returns this +*/ +proto.OrchestratorRequest.prototype.setEntityparameters = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorRequest} returns this + */ +proto.OrchestratorRequest.prototype.clearEntityparameters = function() { + return this.setEntityparameters(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorRequest.prototype.hasEntityparameters = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional bool requiresHistoryStreaming = 6; + * @return {boolean} + */ +proto.OrchestratorRequest.prototype.getRequireshistorystreaming = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.OrchestratorRequest} returns this + */ +proto.OrchestratorRequest.prototype.setRequireshistorystreaming = function(value) { + return jspb.Message.setProto3BooleanField(this, 6, value); +}; + + +/** + * map properties = 7; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.OrchestratorRequest.prototype.getPropertiesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 7, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.OrchestratorRequest} returns this + */ +proto.OrchestratorRequest.prototype.clearPropertiesMap = function() { + this.getPropertiesMap().clear(); + return this;}; + + +/** + * optional OrchestrationTraceContext orchestrationTraceContext = 8; + * @return {?proto.OrchestrationTraceContext} + */ +proto.OrchestratorRequest.prototype.getOrchestrationtracecontext = function() { + return /** @type{?proto.OrchestrationTraceContext} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationTraceContext, 8)); +}; + + +/** + * @param {?proto.OrchestrationTraceContext|undefined} value + * @return {!proto.OrchestratorRequest} returns this +*/ +proto.OrchestratorRequest.prototype.setOrchestrationtracecontext = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorRequest} returns this + */ +proto.OrchestratorRequest.prototype.clearOrchestrationtracecontext = function() { + return this.setOrchestrationtracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorRequest.prototype.hasOrchestrationtracecontext = function() { + return jspb.Message.getField(this, 8) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.OrchestratorResponse.repeatedFields_ = [2]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestratorResponse.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestratorResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestratorResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorResponse.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + actionsList: jspb.Message.toObjectList(msg.getActionsList(), + proto.OrchestratorAction.toObject, includeInstance), + customstatus: (f = msg.getCustomstatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + completiontoken: jspb.Message.getFieldWithDefault(msg, 4, ""), + numeventsprocessed: (f = msg.getNumeventsprocessed()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f), + orchestrationtracecontext: (f = msg.getOrchestrationtracecontext()) && proto.OrchestrationTraceContext.toObject(includeInstance, f), + requireshistory: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), + ispartial: jspb.Message.getBooleanFieldWithDefault(msg, 8, false), + chunkindex: (f = msg.getChunkindex()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestratorResponse} + */ +proto.OrchestratorResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestratorResponse; + return proto.OrchestratorResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestratorResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestratorResponse} + */ +proto.OrchestratorResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new proto.OrchestratorAction; + reader.readMessage(value,proto.OrchestratorAction.deserializeBinaryFromReader); + msg.addActions(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setCustomstatus(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setCompletiontoken(value); + break; + case 5: + var value = new google_protobuf_wrappers_pb.Int32Value; + reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader); + msg.setNumeventsprocessed(value); + break; + case 6: + var value = new proto.OrchestrationTraceContext; + reader.readMessage(value,proto.OrchestrationTraceContext.deserializeBinaryFromReader); + msg.setOrchestrationtracecontext(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRequireshistory(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIspartial(value); + break; + case 9: + var value = new google_protobuf_wrappers_pb.Int32Value; + reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader); + msg.setChunkindex(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestratorResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestratorResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestratorResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getActionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.OrchestratorAction.serializeBinaryToWriter + ); + } + f = message.getCustomstatus(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getCompletiontoken(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getNumeventsprocessed(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter + ); + } + f = message.getOrchestrationtracecontext(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.OrchestrationTraceContext.serializeBinaryToWriter + ); + } + f = message.getRequireshistory(); + if (f) { + writer.writeBool( + 7, + f + ); + } + f = message.getIspartial(); + if (f) { + writer.writeBool( + 8, + f + ); + } + f = message.getChunkindex(); + if (f != null) { + writer.writeMessage( + 9, + f, + google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.OrchestratorResponse.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * repeated OrchestratorAction actions = 2; + * @return {!Array} + */ +proto.OrchestratorResponse.prototype.getActionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.OrchestratorAction, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.OrchestratorResponse} returns this +*/ +proto.OrchestratorResponse.prototype.setActionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.OrchestratorAction=} opt_value + * @param {number=} opt_index + * @return {!proto.OrchestratorAction} + */ +proto.OrchestratorResponse.prototype.addActions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.OrchestratorAction, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.clearActionsList = function() { + return this.setActionsList([]); +}; + + +/** + * optional google.protobuf.StringValue customStatus = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestratorResponse.prototype.getCustomstatus = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestratorResponse} returns this +*/ +proto.OrchestratorResponse.prototype.setCustomstatus = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.clearCustomstatus = function() { + return this.setCustomstatus(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorResponse.prototype.hasCustomstatus = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string completionToken = 4; + * @return {string} + */ +proto.OrchestratorResponse.prototype.getCompletiontoken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.setCompletiontoken = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional google.protobuf.Int32Value numEventsProcessed = 5; + * @return {?proto.google.protobuf.Int32Value} + */ +proto.OrchestratorResponse.prototype.getNumeventsprocessed = function() { + return /** @type{?proto.google.protobuf.Int32Value} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Int32Value|undefined} value + * @return {!proto.OrchestratorResponse} returns this +*/ +proto.OrchestratorResponse.prototype.setNumeventsprocessed = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.clearNumeventsprocessed = function() { + return this.setNumeventsprocessed(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorResponse.prototype.hasNumeventsprocessed = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional OrchestrationTraceContext orchestrationTraceContext = 6; + * @return {?proto.OrchestrationTraceContext} + */ +proto.OrchestratorResponse.prototype.getOrchestrationtracecontext = function() { + return /** @type{?proto.OrchestrationTraceContext} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationTraceContext, 6)); +}; + + +/** + * @param {?proto.OrchestrationTraceContext|undefined} value + * @return {!proto.OrchestratorResponse} returns this +*/ +proto.OrchestratorResponse.prototype.setOrchestrationtracecontext = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.clearOrchestrationtracecontext = function() { + return this.setOrchestrationtracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorResponse.prototype.hasOrchestrationtracecontext = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional bool requiresHistory = 7; + * @return {boolean} + */ +proto.OrchestratorResponse.prototype.getRequireshistory = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.setRequireshistory = function(value) { + return jspb.Message.setProto3BooleanField(this, 7, value); +}; + + +/** + * optional bool isPartial = 8; + * @return {boolean} + */ +proto.OrchestratorResponse.prototype.getIspartial = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.setIspartial = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + +/** + * optional google.protobuf.Int32Value chunkIndex = 9; + * @return {?proto.google.protobuf.Int32Value} + */ +proto.OrchestratorResponse.prototype.getChunkindex = function() { + return /** @type{?proto.google.protobuf.Int32Value} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 9)); +}; + + +/** + * @param {?proto.google.protobuf.Int32Value|undefined} value + * @return {!proto.OrchestratorResponse} returns this +*/ +proto.OrchestratorResponse.prototype.setChunkindex = function(value) { + return jspb.Message.setWrapperField(this, 9, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorResponse} returns this + */ +proto.OrchestratorResponse.prototype.clearChunkindex = function() { + return this.setChunkindex(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorResponse.prototype.hasChunkindex = function() { + return jspb.Message.getField(this, 9) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CreateInstanceRequest.prototype.toObject = function(opt_includeInstance) { + return proto.CreateInstanceRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CreateInstanceRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateInstanceRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + scheduledstarttimestamp: (f = msg.getScheduledstarttimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + orchestrationidreusepolicy: (f = msg.getOrchestrationidreusepolicy()) && proto.OrchestrationIdReusePolicy.toObject(includeInstance, f), + executionid: (f = msg.getExecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [], + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f), + requesttime: (f = msg.getRequesttime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CreateInstanceRequest} + */ +proto.CreateInstanceRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CreateInstanceRequest; + return proto.CreateInstanceRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CreateInstanceRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CreateInstanceRequest} + */ +proto.CreateInstanceRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 5: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setScheduledstarttimestamp(value); + break; + case 6: + var value = new proto.OrchestrationIdReusePolicy; + reader.readMessage(value,proto.OrchestrationIdReusePolicy.deserializeBinaryFromReader); + msg.setOrchestrationidreusepolicy(value); + break; + case 7: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setExecutionid(value); + break; + case 8: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + case 9: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + case 10: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setRequesttime(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CreateInstanceRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CreateInstanceRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CreateInstanceRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateInstanceRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getScheduledstarttimestamp(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getOrchestrationidreusepolicy(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.OrchestrationIdReusePolicy.serializeBinaryToWriter + ); + } + f = message.getExecutionid(); + if (f != null) { + writer.writeMessage( + 7, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 9, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } + f = message.getRequesttime(); + if (f != null) { + writer.writeMessage( + 10, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.CreateInstanceRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.CreateInstanceRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue version = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CreateInstanceRequest.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CreateInstanceRequest} returns this +*/ +proto.CreateInstanceRequest.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateInstanceRequest.prototype.hasVersion = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CreateInstanceRequest.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CreateInstanceRequest} returns this +*/ +proto.CreateInstanceRequest.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateInstanceRequest.prototype.hasInput = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional google.protobuf.Timestamp scheduledStartTimestamp = 5; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.CreateInstanceRequest.prototype.getScheduledstarttimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.CreateInstanceRequest} returns this +*/ +proto.CreateInstanceRequest.prototype.setScheduledstarttimestamp = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.clearScheduledstarttimestamp = function() { + return this.setScheduledstarttimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateInstanceRequest.prototype.hasScheduledstarttimestamp = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional OrchestrationIdReusePolicy orchestrationIdReusePolicy = 6; + * @return {?proto.OrchestrationIdReusePolicy} + */ +proto.CreateInstanceRequest.prototype.getOrchestrationidreusepolicy = function() { + return /** @type{?proto.OrchestrationIdReusePolicy} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationIdReusePolicy, 6)); +}; + + +/** + * @param {?proto.OrchestrationIdReusePolicy|undefined} value + * @return {!proto.CreateInstanceRequest} returns this +*/ +proto.CreateInstanceRequest.prototype.setOrchestrationidreusepolicy = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.clearOrchestrationidreusepolicy = function() { + return this.setOrchestrationidreusepolicy(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateInstanceRequest.prototype.hasOrchestrationidreusepolicy = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional google.protobuf.StringValue executionId = 7; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CreateInstanceRequest.prototype.getExecutionid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CreateInstanceRequest} returns this +*/ +proto.CreateInstanceRequest.prototype.setExecutionid = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.clearExecutionid = function() { + return this.setExecutionid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateInstanceRequest.prototype.hasExecutionid = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * map tags = 8; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.CreateInstanceRequest.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 8, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + +/** + * optional TraceContext parentTraceContext = 9; + * @return {?proto.TraceContext} + */ +proto.CreateInstanceRequest.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 9)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.CreateInstanceRequest} returns this +*/ +proto.CreateInstanceRequest.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 9, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateInstanceRequest.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 9) != null; +}; + + +/** + * optional google.protobuf.Timestamp requestTime = 10; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.CreateInstanceRequest.prototype.getRequesttime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.CreateInstanceRequest} returns this +*/ +proto.CreateInstanceRequest.prototype.setRequesttime = function(value) { + return jspb.Message.setWrapperField(this, 10, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CreateInstanceRequest} returns this + */ +proto.CreateInstanceRequest.prototype.clearRequesttime = function() { + return this.setRequesttime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CreateInstanceRequest.prototype.hasRequesttime = function() { + return jspb.Message.getField(this, 10) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.OrchestrationIdReusePolicy.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestrationIdReusePolicy.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestrationIdReusePolicy.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestrationIdReusePolicy} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestrationIdReusePolicy.toObject = function(includeInstance, msg) { + var f, obj = { + replaceablestatusList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestrationIdReusePolicy} + */ +proto.OrchestrationIdReusePolicy.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestrationIdReusePolicy; + return proto.OrchestrationIdReusePolicy.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestrationIdReusePolicy} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestrationIdReusePolicy} + */ +proto.OrchestrationIdReusePolicy.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addReplaceablestatus(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestrationIdReusePolicy.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestrationIdReusePolicy.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestrationIdReusePolicy} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestrationIdReusePolicy.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getReplaceablestatusList(); + if (f.length > 0) { + writer.writePackedEnum( + 1, + f + ); + } +}; + + +/** + * repeated OrchestrationStatus replaceableStatus = 1; + * @return {!Array} + */ +proto.OrchestrationIdReusePolicy.prototype.getReplaceablestatusList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.OrchestrationIdReusePolicy} returns this + */ +proto.OrchestrationIdReusePolicy.prototype.setReplaceablestatusList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {!proto.OrchestrationStatus} value + * @param {number=} opt_index + * @return {!proto.OrchestrationIdReusePolicy} returns this + */ +proto.OrchestrationIdReusePolicy.prototype.addReplaceablestatus = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.OrchestrationIdReusePolicy} returns this + */ +proto.OrchestrationIdReusePolicy.prototype.clearReplaceablestatusList = function() { + return this.setReplaceablestatusList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CreateInstanceResponse.prototype.toObject = function(opt_includeInstance) { + return proto.CreateInstanceResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CreateInstanceResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateInstanceResponse.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CreateInstanceResponse} + */ +proto.CreateInstanceResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CreateInstanceResponse; + return proto.CreateInstanceResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CreateInstanceResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CreateInstanceResponse} + */ +proto.CreateInstanceResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CreateInstanceResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CreateInstanceResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CreateInstanceResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateInstanceResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.CreateInstanceResponse.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.CreateInstanceResponse} returns this + */ +proto.CreateInstanceResponse.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.GetInstanceRequest.prototype.toObject = function(opt_includeInstance) { + return proto.GetInstanceRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.GetInstanceRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetInstanceRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + getinputsandoutputs: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.GetInstanceRequest} + */ +proto.GetInstanceRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.GetInstanceRequest; + return proto.GetInstanceRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.GetInstanceRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.GetInstanceRequest} + */ +proto.GetInstanceRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setGetinputsandoutputs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.GetInstanceRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.GetInstanceRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.GetInstanceRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetInstanceRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getGetinputsandoutputs(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.GetInstanceRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.GetInstanceRequest} returns this + */ +proto.GetInstanceRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bool getInputsAndOutputs = 2; + * @return {boolean} + */ +proto.GetInstanceRequest.prototype.getGetinputsandoutputs = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.GetInstanceRequest} returns this + */ +proto.GetInstanceRequest.prototype.setGetinputsandoutputs = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.GetInstanceResponse.prototype.toObject = function(opt_includeInstance) { + return proto.GetInstanceResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.GetInstanceResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetInstanceResponse.toObject = function(includeInstance, msg) { + var f, obj = { + exists: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + orchestrationstate: (f = msg.getOrchestrationstate()) && proto.OrchestrationState.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.GetInstanceResponse} + */ +proto.GetInstanceResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.GetInstanceResponse; + return proto.GetInstanceResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.GetInstanceResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.GetInstanceResponse} + */ +proto.GetInstanceResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExists(value); + break; + case 2: + var value = new proto.OrchestrationState; + reader.readMessage(value,proto.OrchestrationState.deserializeBinaryFromReader); + msg.setOrchestrationstate(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.GetInstanceResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.GetInstanceResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.GetInstanceResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetInstanceResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExists(); + if (f) { + writer.writeBool( + 1, + f + ); + } + f = message.getOrchestrationstate(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.OrchestrationState.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bool exists = 1; + * @return {boolean} + */ +proto.GetInstanceResponse.prototype.getExists = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.GetInstanceResponse} returns this + */ +proto.GetInstanceResponse.prototype.setExists = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + +/** + * optional OrchestrationState orchestrationState = 2; + * @return {?proto.OrchestrationState} + */ +proto.GetInstanceResponse.prototype.getOrchestrationstate = function() { + return /** @type{?proto.OrchestrationState} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationState, 2)); +}; + + +/** + * @param {?proto.OrchestrationState|undefined} value + * @return {!proto.GetInstanceResponse} returns this +*/ +proto.GetInstanceResponse.prototype.setOrchestrationstate = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.GetInstanceResponse} returns this + */ +proto.GetInstanceResponse.prototype.clearOrchestrationstate = function() { + return this.setOrchestrationstate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.GetInstanceResponse.prototype.hasOrchestrationstate = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.RewindInstanceRequest.prototype.toObject = function(opt_includeInstance) { + return proto.RewindInstanceRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.RewindInstanceRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RewindInstanceRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.RewindInstanceRequest} + */ +proto.RewindInstanceRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.RewindInstanceRequest; + return proto.RewindInstanceRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.RewindInstanceRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.RewindInstanceRequest} + */ +proto.RewindInstanceRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.RewindInstanceRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.RewindInstanceRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.RewindInstanceRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RewindInstanceRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getReason(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.RewindInstanceRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.RewindInstanceRequest} returns this + */ +proto.RewindInstanceRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue reason = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.RewindInstanceRequest.prototype.getReason = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.RewindInstanceRequest} returns this +*/ +proto.RewindInstanceRequest.prototype.setReason = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.RewindInstanceRequest} returns this + */ +proto.RewindInstanceRequest.prototype.clearReason = function() { + return this.setReason(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.RewindInstanceRequest.prototype.hasReason = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.RewindInstanceResponse.prototype.toObject = function(opt_includeInstance) { + return proto.RewindInstanceResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.RewindInstanceResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RewindInstanceResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.RewindInstanceResponse} + */ +proto.RewindInstanceResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.RewindInstanceResponse; + return proto.RewindInstanceResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.RewindInstanceResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.RewindInstanceResponse} + */ +proto.RewindInstanceResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.RewindInstanceResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.RewindInstanceResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.RewindInstanceResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RewindInstanceResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestrationState.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestrationState.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestrationState} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestrationState.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + orchestrationstatus: jspb.Message.getFieldWithDefault(msg, 4, 0), + scheduledstarttimestamp: (f = msg.getScheduledstarttimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + createdtimestamp: (f = msg.getCreatedtimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + lastupdatedtimestamp: (f = msg.getLastupdatedtimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + output: (f = msg.getOutput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + customstatus: (f = msg.getCustomstatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f), + executionid: (f = msg.getExecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + completedtimestamp: (f = msg.getCompletedtimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + parentinstanceid: (f = msg.getParentinstanceid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + tagsMap: (f = msg.getTagsMap()) ? f.toObject(includeInstance, undefined) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestrationState} + */ +proto.OrchestrationState.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestrationState; + return proto.OrchestrationState.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestrationState} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestrationState} + */ +proto.OrchestrationState.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 4: + var value = /** @type {!proto.OrchestrationStatus} */ (reader.readEnum()); + msg.setOrchestrationstatus(value); + break; + case 5: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setScheduledstarttimestamp(value); + break; + case 6: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCreatedtimestamp(value); + break; + case 7: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setLastupdatedtimestamp(value); + break; + case 8: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 9: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setOutput(value); + break; + case 10: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setCustomstatus(value); + break; + case 11: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + case 12: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setExecutionid(value); + break; + case 13: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCompletedtimestamp(value); + break; + case 14: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setParentinstanceid(value); + break; + case 15: + var value = msg.getTagsMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", ""); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestrationState.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestrationState.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestrationState} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestrationState.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getOrchestrationstatus(); + if (f !== 0.0) { + writer.writeEnum( + 4, + f + ); + } + f = message.getScheduledstarttimestamp(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getCreatedtimestamp(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getLastupdatedtimestamp(); + if (f != null) { + writer.writeMessage( + 7, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 8, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 9, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getCustomstatus(); + if (f != null) { + writer.writeMessage( + 10, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 11, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } + f = message.getExecutionid(); + if (f != null) { + writer.writeMessage( + 12, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getCompletedtimestamp(); + if (f != null) { + writer.writeMessage( + 13, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getParentinstanceid(); + if (f != null) { + writer.writeMessage( + 14, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getTagsMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(15, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.OrchestrationState.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.OrchestrationState.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue version = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestrationState.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasVersion = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional OrchestrationStatus orchestrationStatus = 4; + * @return {!proto.OrchestrationStatus} + */ +proto.OrchestrationState.prototype.getOrchestrationstatus = function() { + return /** @type {!proto.OrchestrationStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {!proto.OrchestrationStatus} value + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.setOrchestrationstatus = function(value) { + return jspb.Message.setProto3EnumField(this, 4, value); +}; + + +/** + * optional google.protobuf.Timestamp scheduledStartTimestamp = 5; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OrchestrationState.prototype.getScheduledstarttimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setScheduledstarttimestamp = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearScheduledstarttimestamp = function() { + return this.setScheduledstarttimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasScheduledstarttimestamp = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional google.protobuf.Timestamp createdTimestamp = 6; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OrchestrationState.prototype.getCreatedtimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setCreatedtimestamp = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearCreatedtimestamp = function() { + return this.setCreatedtimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasCreatedtimestamp = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional google.protobuf.Timestamp lastUpdatedTimestamp = 7; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OrchestrationState.prototype.getLastupdatedtimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setLastupdatedtimestamp = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearLastupdatedtimestamp = function() { + return this.setLastupdatedtimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasLastupdatedtimestamp = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 8; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestrationState.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 8, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasInput = function() { + return jspb.Message.getField(this, 8) != null; +}; + + +/** + * optional google.protobuf.StringValue output = 9; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestrationState.prototype.getOutput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setOutput = function(value) { + return jspb.Message.setWrapperField(this, 9, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasOutput = function() { + return jspb.Message.getField(this, 9) != null; +}; + + +/** + * optional google.protobuf.StringValue customStatus = 10; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestrationState.prototype.getCustomstatus = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setCustomstatus = function(value) { + return jspb.Message.setWrapperField(this, 10, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearCustomstatus = function() { + return this.setCustomstatus(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasCustomstatus = function() { + return jspb.Message.getField(this, 10) != null; +}; + + +/** + * optional TaskFailureDetails failureDetails = 11; + * @return {?proto.TaskFailureDetails} + */ +proto.OrchestrationState.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 11)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 11, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 11) != null; +}; + + +/** + * optional google.protobuf.StringValue executionId = 12; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestrationState.prototype.getExecutionid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 12)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setExecutionid = function(value) { + return jspb.Message.setWrapperField(this, 12, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearExecutionid = function() { + return this.setExecutionid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasExecutionid = function() { + return jspb.Message.getField(this, 12) != null; +}; + + +/** + * optional google.protobuf.Timestamp completedTimestamp = 13; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OrchestrationState.prototype.getCompletedtimestamp = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 13)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setCompletedtimestamp = function(value) { + return jspb.Message.setWrapperField(this, 13, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearCompletedtimestamp = function() { + return this.setCompletedtimestamp(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasCompletedtimestamp = function() { + return jspb.Message.getField(this, 13) != null; +}; + + +/** + * optional google.protobuf.StringValue parentInstanceId = 14; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OrchestrationState.prototype.getParentinstanceid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 14)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OrchestrationState} returns this +*/ +proto.OrchestrationState.prototype.setParentinstanceid = function(value) { + return jspb.Message.setWrapperField(this, 14, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearParentinstanceid = function() { + return this.setParentinstanceid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestrationState.prototype.hasParentinstanceid = function() { + return jspb.Message.getField(this, 14) != null; +}; + + +/** + * map tags = 15; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.OrchestrationState.prototype.getTagsMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 15, opt_noLazyCreate, + null)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.OrchestrationState} returns this + */ +proto.OrchestrationState.prototype.clearTagsMap = function() { + this.getTagsMap().clear(); + return this;}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.RaiseEventRequest.prototype.toObject = function(opt_includeInstance) { + return proto.RaiseEventRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.RaiseEventRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RaiseEventRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.RaiseEventRequest} + */ +proto.RaiseEventRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.RaiseEventRequest; + return proto.RaiseEventRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.RaiseEventRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.RaiseEventRequest} + */ +proto.RaiseEventRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.RaiseEventRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.RaiseEventRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.RaiseEventRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RaiseEventRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.RaiseEventRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.RaiseEventRequest} returns this + */ +proto.RaiseEventRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.RaiseEventRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.RaiseEventRequest} returns this + */ +proto.RaiseEventRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.RaiseEventRequest.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.RaiseEventRequest} returns this +*/ +proto.RaiseEventRequest.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.RaiseEventRequest} returns this + */ +proto.RaiseEventRequest.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.RaiseEventRequest.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.RaiseEventResponse.prototype.toObject = function(opt_includeInstance) { + return proto.RaiseEventResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.RaiseEventResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RaiseEventResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.RaiseEventResponse} + */ +proto.RaiseEventResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.RaiseEventResponse; + return proto.RaiseEventResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.RaiseEventResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.RaiseEventResponse} + */ +proto.RaiseEventResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.RaiseEventResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.RaiseEventResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.RaiseEventResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RaiseEventResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TerminateRequest.prototype.toObject = function(opt_includeInstance) { + return proto.TerminateRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TerminateRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TerminateRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + output: (f = msg.getOutput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + recursive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TerminateRequest} + */ +proto.TerminateRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TerminateRequest; + return proto.TerminateRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TerminateRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TerminateRequest} + */ +proto.TerminateRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setOutput(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRecursive(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TerminateRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TerminateRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TerminateRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TerminateRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getOutput(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getRecursive(); + if (f) { + writer.writeBool( + 3, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.TerminateRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.TerminateRequest} returns this + */ +proto.TerminateRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue output = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.TerminateRequest.prototype.getOutput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.TerminateRequest} returns this +*/ +proto.TerminateRequest.prototype.setOutput = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.TerminateRequest} returns this + */ +proto.TerminateRequest.prototype.clearOutput = function() { + return this.setOutput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.TerminateRequest.prototype.hasOutput = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool recursive = 3; + * @return {boolean} + */ +proto.TerminateRequest.prototype.getRecursive = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.TerminateRequest} returns this + */ +proto.TerminateRequest.prototype.setRecursive = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.TerminateResponse.prototype.toObject = function(opt_includeInstance) { + return proto.TerminateResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.TerminateResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TerminateResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.TerminateResponse} + */ +proto.TerminateResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.TerminateResponse; + return proto.TerminateResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.TerminateResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.TerminateResponse} + */ +proto.TerminateResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.TerminateResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.TerminateResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.TerminateResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.TerminateResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SuspendRequest.prototype.toObject = function(opt_includeInstance) { + return proto.SuspendRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SuspendRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SuspendRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SuspendRequest} + */ +proto.SuspendRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SuspendRequest; + return proto.SuspendRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SuspendRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SuspendRequest} + */ +proto.SuspendRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SuspendRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SuspendRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SuspendRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SuspendRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getReason(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.SuspendRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SuspendRequest} returns this + */ +proto.SuspendRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue reason = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.SuspendRequest.prototype.getReason = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.SuspendRequest} returns this +*/ +proto.SuspendRequest.prototype.setReason = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SuspendRequest} returns this + */ +proto.SuspendRequest.prototype.clearReason = function() { + return this.setReason(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SuspendRequest.prototype.hasReason = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SuspendResponse.prototype.toObject = function(opt_includeInstance) { + return proto.SuspendResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SuspendResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SuspendResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SuspendResponse} + */ +proto.SuspendResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SuspendResponse; + return proto.SuspendResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SuspendResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SuspendResponse} + */ +proto.SuspendResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SuspendResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SuspendResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SuspendResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SuspendResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ResumeRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ResumeRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ResumeRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ResumeRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ResumeRequest} + */ +proto.ResumeRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ResumeRequest; + return proto.ResumeRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ResumeRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ResumeRequest} + */ +proto.ResumeRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ResumeRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ResumeRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ResumeRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ResumeRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getReason(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.ResumeRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.ResumeRequest} returns this + */ +proto.ResumeRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue reason = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ResumeRequest.prototype.getReason = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ResumeRequest} returns this +*/ +proto.ResumeRequest.prototype.setReason = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ResumeRequest} returns this + */ +proto.ResumeRequest.prototype.clearReason = function() { + return this.setReason(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ResumeRequest.prototype.hasReason = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ResumeResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ResumeResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ResumeResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ResumeResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ResumeResponse} + */ +proto.ResumeResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ResumeResponse; + return proto.ResumeResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ResumeResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ResumeResponse} + */ +proto.ResumeResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ResumeResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ResumeResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ResumeResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ResumeResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.QueryInstancesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.QueryInstancesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.QueryInstancesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.QueryInstancesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + query: (f = msg.getQuery()) && proto.InstanceQuery.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.QueryInstancesRequest} + */ +proto.QueryInstancesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.QueryInstancesRequest; + return proto.QueryInstancesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.QueryInstancesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.QueryInstancesRequest} + */ +proto.QueryInstancesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.InstanceQuery; + reader.readMessage(value,proto.InstanceQuery.deserializeBinaryFromReader); + msg.setQuery(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.QueryInstancesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.QueryInstancesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.QueryInstancesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.QueryInstancesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getQuery(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.InstanceQuery.serializeBinaryToWriter + ); + } +}; + + +/** + * optional InstanceQuery query = 1; + * @return {?proto.InstanceQuery} + */ +proto.QueryInstancesRequest.prototype.getQuery = function() { + return /** @type{?proto.InstanceQuery} */ ( + jspb.Message.getWrapperField(this, proto.InstanceQuery, 1)); +}; + + +/** + * @param {?proto.InstanceQuery|undefined} value + * @return {!proto.QueryInstancesRequest} returns this +*/ +proto.QueryInstancesRequest.prototype.setQuery = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.QueryInstancesRequest} returns this + */ +proto.QueryInstancesRequest.prototype.clearQuery = function() { + return this.setQuery(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.QueryInstancesRequest.prototype.hasQuery = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.InstanceQuery.repeatedFields_ = [1,4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.InstanceQuery.prototype.toObject = function(opt_includeInstance) { + return proto.InstanceQuery.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.InstanceQuery} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.InstanceQuery.toObject = function(includeInstance, msg) { + var f, obj = { + runtimestatusList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + createdtimefrom: (f = msg.getCreatedtimefrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + createdtimeto: (f = msg.getCreatedtimeto()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + taskhubnamesList: jspb.Message.toObjectList(msg.getTaskhubnamesList(), + google_protobuf_wrappers_pb.StringValue.toObject, includeInstance), + maxinstancecount: jspb.Message.getFieldWithDefault(msg, 5, 0), + continuationtoken: (f = msg.getContinuationtoken()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + instanceidprefix: (f = msg.getInstanceidprefix()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + fetchinputsandoutputs: jspb.Message.getBooleanFieldWithDefault(msg, 8, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.InstanceQuery} + */ +proto.InstanceQuery.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.InstanceQuery; + return proto.InstanceQuery.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.InstanceQuery} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.InstanceQuery} + */ +proto.InstanceQuery.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addRuntimestatus(values[i]); + } + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCreatedtimefrom(value); + break; + case 3: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCreatedtimeto(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.addTaskhubnames(value); + break; + case 5: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMaxinstancecount(value); + break; + case 6: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setContinuationtoken(value); + break; + case 7: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInstanceidprefix(value); + break; + case 8: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setFetchinputsandoutputs(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.InstanceQuery.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.InstanceQuery.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.InstanceQuery} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.InstanceQuery.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRuntimestatusList(); + if (f.length > 0) { + writer.writePackedEnum( + 1, + f + ); + } + f = message.getCreatedtimefrom(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getCreatedtimeto(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getTaskhubnamesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getMaxinstancecount(); + if (f !== 0) { + writer.writeInt32( + 5, + f + ); + } + f = message.getContinuationtoken(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInstanceidprefix(); + if (f != null) { + writer.writeMessage( + 7, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getFetchinputsandoutputs(); + if (f) { + writer.writeBool( + 8, + f + ); + } +}; + + +/** + * repeated OrchestrationStatus runtimeStatus = 1; + * @return {!Array} + */ +proto.InstanceQuery.prototype.getRuntimestatusList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.setRuntimestatusList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {!proto.OrchestrationStatus} value + * @param {number=} opt_index + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.addRuntimestatus = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.clearRuntimestatusList = function() { + return this.setRuntimestatusList([]); +}; + + +/** + * optional google.protobuf.Timestamp createdTimeFrom = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.InstanceQuery.prototype.getCreatedtimefrom = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.InstanceQuery} returns this +*/ +proto.InstanceQuery.prototype.setCreatedtimefrom = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.clearCreatedtimefrom = function() { + return this.setCreatedtimefrom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.InstanceQuery.prototype.hasCreatedtimefrom = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.Timestamp createdTimeTo = 3; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.InstanceQuery.prototype.getCreatedtimeto = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.InstanceQuery} returns this +*/ +proto.InstanceQuery.prototype.setCreatedtimeto = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.clearCreatedtimeto = function() { + return this.setCreatedtimeto(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.InstanceQuery.prototype.hasCreatedtimeto = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * repeated google.protobuf.StringValue taskHubNames = 4; + * @return {!Array} + */ +proto.InstanceQuery.prototype.getTaskhubnamesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.InstanceQuery} returns this +*/ +proto.InstanceQuery.prototype.setTaskhubnamesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.google.protobuf.StringValue=} opt_value + * @param {number=} opt_index + * @return {!proto.google.protobuf.StringValue} + */ +proto.InstanceQuery.prototype.addTaskhubnames = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.protobuf.StringValue, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.clearTaskhubnamesList = function() { + return this.setTaskhubnamesList([]); +}; + + +/** + * optional int32 maxInstanceCount = 5; + * @return {number} + */ +proto.InstanceQuery.prototype.getMaxinstancecount = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.setMaxinstancecount = function(value) { + return jspb.Message.setProto3IntField(this, 5, value); +}; + + +/** + * optional google.protobuf.StringValue continuationToken = 6; + * @return {?proto.google.protobuf.StringValue} + */ +proto.InstanceQuery.prototype.getContinuationtoken = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.InstanceQuery} returns this +*/ +proto.InstanceQuery.prototype.setContinuationtoken = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.clearContinuationtoken = function() { + return this.setContinuationtoken(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.InstanceQuery.prototype.hasContinuationtoken = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional google.protobuf.StringValue instanceIdPrefix = 7; + * @return {?proto.google.protobuf.StringValue} + */ +proto.InstanceQuery.prototype.getInstanceidprefix = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.InstanceQuery} returns this +*/ +proto.InstanceQuery.prototype.setInstanceidprefix = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.clearInstanceidprefix = function() { + return this.setInstanceidprefix(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.InstanceQuery.prototype.hasInstanceidprefix = function() { + return jspb.Message.getField(this, 7) != null; +}; + + +/** + * optional bool fetchInputsAndOutputs = 8; + * @return {boolean} + */ +proto.InstanceQuery.prototype.getFetchinputsandoutputs = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.InstanceQuery} returns this + */ +proto.InstanceQuery.prototype.setFetchinputsandoutputs = function(value) { + return jspb.Message.setProto3BooleanField(this, 8, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.QueryInstancesResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.QueryInstancesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.QueryInstancesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.QueryInstancesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.QueryInstancesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + orchestrationstateList: jspb.Message.toObjectList(msg.getOrchestrationstateList(), + proto.OrchestrationState.toObject, includeInstance), + continuationtoken: (f = msg.getContinuationtoken()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.QueryInstancesResponse} + */ +proto.QueryInstancesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.QueryInstancesResponse; + return proto.QueryInstancesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.QueryInstancesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.QueryInstancesResponse} + */ +proto.QueryInstancesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.OrchestrationState; + reader.readMessage(value,proto.OrchestrationState.deserializeBinaryFromReader); + msg.addOrchestrationstate(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setContinuationtoken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.QueryInstancesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.QueryInstancesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.QueryInstancesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.QueryInstancesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOrchestrationstateList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.OrchestrationState.serializeBinaryToWriter + ); + } + f = message.getContinuationtoken(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated OrchestrationState orchestrationState = 1; + * @return {!Array} + */ +proto.QueryInstancesResponse.prototype.getOrchestrationstateList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.OrchestrationState, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.QueryInstancesResponse} returns this +*/ +proto.QueryInstancesResponse.prototype.setOrchestrationstateList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.OrchestrationState=} opt_value + * @param {number=} opt_index + * @return {!proto.OrchestrationState} + */ +proto.QueryInstancesResponse.prototype.addOrchestrationstate = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.OrchestrationState, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.QueryInstancesResponse} returns this + */ +proto.QueryInstancesResponse.prototype.clearOrchestrationstateList = function() { + return this.setOrchestrationstateList([]); +}; + + +/** + * optional google.protobuf.StringValue continuationToken = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.QueryInstancesResponse.prototype.getContinuationtoken = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.QueryInstancesResponse} returns this +*/ +proto.QueryInstancesResponse.prototype.setContinuationtoken = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.QueryInstancesResponse} returns this + */ +proto.QueryInstancesResponse.prototype.clearContinuationtoken = function() { + return this.setContinuationtoken(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.QueryInstancesResponse.prototype.hasContinuationtoken = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ListInstanceIdsRequest.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ListInstanceIdsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.ListInstanceIdsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ListInstanceIdsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ListInstanceIdsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + runtimestatusList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + completedtimefrom: (f = msg.getCompletedtimefrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + completedtimeto: (f = msg.getCompletedtimeto()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + pagesize: jspb.Message.getFieldWithDefault(msg, 4, 0), + lastinstancekey: (f = msg.getLastinstancekey()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ListInstanceIdsRequest} + */ +proto.ListInstanceIdsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ListInstanceIdsRequest; + return proto.ListInstanceIdsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ListInstanceIdsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ListInstanceIdsRequest} + */ +proto.ListInstanceIdsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addRuntimestatus(values[i]); + } + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCompletedtimefrom(value); + break; + case 3: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCompletedtimeto(value); + break; + case 4: + var value = /** @type {number} */ (reader.readInt32()); + msg.setPagesize(value); + break; + case 5: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setLastinstancekey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ListInstanceIdsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ListInstanceIdsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ListInstanceIdsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ListInstanceIdsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRuntimestatusList(); + if (f.length > 0) { + writer.writePackedEnum( + 1, + f + ); + } + f = message.getCompletedtimefrom(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getCompletedtimeto(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getPagesize(); + if (f !== 0) { + writer.writeInt32( + 4, + f + ); + } + f = message.getLastinstancekey(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated OrchestrationStatus runtimeStatus = 1; + * @return {!Array} + */ +proto.ListInstanceIdsRequest.prototype.getRuntimestatusList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ListInstanceIdsRequest} returns this + */ +proto.ListInstanceIdsRequest.prototype.setRuntimestatusList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {!proto.OrchestrationStatus} value + * @param {number=} opt_index + * @return {!proto.ListInstanceIdsRequest} returns this + */ +proto.ListInstanceIdsRequest.prototype.addRuntimestatus = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ListInstanceIdsRequest} returns this + */ +proto.ListInstanceIdsRequest.prototype.clearRuntimestatusList = function() { + return this.setRuntimestatusList([]); +}; + + +/** + * optional google.protobuf.Timestamp completedTimeFrom = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.ListInstanceIdsRequest.prototype.getCompletedtimefrom = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.ListInstanceIdsRequest} returns this +*/ +proto.ListInstanceIdsRequest.prototype.setCompletedtimefrom = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ListInstanceIdsRequest} returns this + */ +proto.ListInstanceIdsRequest.prototype.clearCompletedtimefrom = function() { + return this.setCompletedtimefrom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ListInstanceIdsRequest.prototype.hasCompletedtimefrom = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.Timestamp completedTimeTo = 3; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.ListInstanceIdsRequest.prototype.getCompletedtimeto = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.ListInstanceIdsRequest} returns this +*/ +proto.ListInstanceIdsRequest.prototype.setCompletedtimeto = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ListInstanceIdsRequest} returns this + */ +proto.ListInstanceIdsRequest.prototype.clearCompletedtimeto = function() { + return this.setCompletedtimeto(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ListInstanceIdsRequest.prototype.hasCompletedtimeto = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional int32 pageSize = 4; + * @return {number} + */ +proto.ListInstanceIdsRequest.prototype.getPagesize = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.ListInstanceIdsRequest} returns this + */ +proto.ListInstanceIdsRequest.prototype.setPagesize = function(value) { + return jspb.Message.setProto3IntField(this, 4, value); +}; + + +/** + * optional google.protobuf.StringValue lastInstanceKey = 5; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ListInstanceIdsRequest.prototype.getLastinstancekey = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ListInstanceIdsRequest} returns this +*/ +proto.ListInstanceIdsRequest.prototype.setLastinstancekey = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ListInstanceIdsRequest} returns this + */ +proto.ListInstanceIdsRequest.prototype.clearLastinstancekey = function() { + return this.setLastinstancekey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ListInstanceIdsRequest.prototype.hasLastinstancekey = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.ListInstanceIdsResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.ListInstanceIdsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.ListInstanceIdsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.ListInstanceIdsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ListInstanceIdsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + instanceidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, + lastinstancekey: (f = msg.getLastinstancekey()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.ListInstanceIdsResponse} + */ +proto.ListInstanceIdsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.ListInstanceIdsResponse; + return proto.ListInstanceIdsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.ListInstanceIdsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.ListInstanceIdsResponse} + */ +proto.ListInstanceIdsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addInstanceids(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setLastinstancekey(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.ListInstanceIdsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.ListInstanceIdsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.ListInstanceIdsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.ListInstanceIdsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceidsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } + f = message.getLastinstancekey(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated string instanceIds = 1; + * @return {!Array} + */ +proto.ListInstanceIdsResponse.prototype.getInstanceidsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.ListInstanceIdsResponse} returns this + */ +proto.ListInstanceIdsResponse.prototype.setInstanceidsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.ListInstanceIdsResponse} returns this + */ +proto.ListInstanceIdsResponse.prototype.addInstanceids = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.ListInstanceIdsResponse} returns this + */ +proto.ListInstanceIdsResponse.prototype.clearInstanceidsList = function() { + return this.setInstanceidsList([]); +}; + + +/** + * optional google.protobuf.StringValue lastInstanceKey = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.ListInstanceIdsResponse.prototype.getLastinstancekey = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.ListInstanceIdsResponse} returns this +*/ +proto.ListInstanceIdsResponse.prototype.setLastinstancekey = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.ListInstanceIdsResponse} returns this + */ +proto.ListInstanceIdsResponse.prototype.clearLastinstancekey = function() { + return this.setLastinstancekey(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.ListInstanceIdsResponse.prototype.hasLastinstancekey = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.PurgeInstancesRequest.oneofGroups_ = [[1,2,4]]; + +/** + * @enum {number} + */ +proto.PurgeInstancesRequest.RequestCase = { + REQUEST_NOT_SET: 0, + INSTANCEID: 1, + PURGEINSTANCEFILTER: 2, + INSTANCEBATCH: 4 +}; + +/** + * @return {proto.PurgeInstancesRequest.RequestCase} + */ +proto.PurgeInstancesRequest.prototype.getRequestCase = function() { + return /** @type {proto.PurgeInstancesRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.PurgeInstancesRequest.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.PurgeInstancesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.PurgeInstancesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.PurgeInstancesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.PurgeInstancesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + purgeinstancefilter: (f = msg.getPurgeinstancefilter()) && proto.PurgeInstanceFilter.toObject(includeInstance, f), + instancebatch: (f = msg.getInstancebatch()) && proto.InstanceBatch.toObject(includeInstance, f), + recursive: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), + isorchestration: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.PurgeInstancesRequest} + */ +proto.PurgeInstancesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.PurgeInstancesRequest; + return proto.PurgeInstancesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.PurgeInstancesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.PurgeInstancesRequest} + */ +proto.PurgeInstancesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new proto.PurgeInstanceFilter; + reader.readMessage(value,proto.PurgeInstanceFilter.deserializeBinaryFromReader); + msg.setPurgeinstancefilter(value); + break; + case 4: + var value = new proto.InstanceBatch; + reader.readMessage(value,proto.InstanceBatch.deserializeBinaryFromReader); + msg.setInstancebatch(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRecursive(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIsorchestration(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.PurgeInstancesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.PurgeInstancesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.PurgeInstancesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.PurgeInstancesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = message.getPurgeinstancefilter(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.PurgeInstanceFilter.serializeBinaryToWriter + ); + } + f = message.getInstancebatch(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.InstanceBatch.serializeBinaryToWriter + ); + } + f = message.getRecursive(); + if (f) { + writer.writeBool( + 3, + f + ); + } + f = message.getIsorchestration(); + if (f) { + writer.writeBool( + 5, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.PurgeInstancesRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.PurgeInstancesRequest} returns this + */ +proto.PurgeInstancesRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setOneofField(this, 1, proto.PurgeInstancesRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.PurgeInstancesRequest} returns this + */ +proto.PurgeInstancesRequest.prototype.clearInstanceid = function() { + return jspb.Message.setOneofField(this, 1, proto.PurgeInstancesRequest.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.PurgeInstancesRequest.prototype.hasInstanceid = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional PurgeInstanceFilter purgeInstanceFilter = 2; + * @return {?proto.PurgeInstanceFilter} + */ +proto.PurgeInstancesRequest.prototype.getPurgeinstancefilter = function() { + return /** @type{?proto.PurgeInstanceFilter} */ ( + jspb.Message.getWrapperField(this, proto.PurgeInstanceFilter, 2)); +}; + + +/** + * @param {?proto.PurgeInstanceFilter|undefined} value + * @return {!proto.PurgeInstancesRequest} returns this +*/ +proto.PurgeInstancesRequest.prototype.setPurgeinstancefilter = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.PurgeInstancesRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.PurgeInstancesRequest} returns this + */ +proto.PurgeInstancesRequest.prototype.clearPurgeinstancefilter = function() { + return this.setPurgeinstancefilter(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.PurgeInstancesRequest.prototype.hasPurgeinstancefilter = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional InstanceBatch instanceBatch = 4; + * @return {?proto.InstanceBatch} + */ +proto.PurgeInstancesRequest.prototype.getInstancebatch = function() { + return /** @type{?proto.InstanceBatch} */ ( + jspb.Message.getWrapperField(this, proto.InstanceBatch, 4)); +}; + + +/** + * @param {?proto.InstanceBatch|undefined} value + * @return {!proto.PurgeInstancesRequest} returns this +*/ +proto.PurgeInstancesRequest.prototype.setInstancebatch = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.PurgeInstancesRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.PurgeInstancesRequest} returns this + */ +proto.PurgeInstancesRequest.prototype.clearInstancebatch = function() { + return this.setInstancebatch(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.PurgeInstancesRequest.prototype.hasInstancebatch = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional bool recursive = 3; + * @return {boolean} + */ +proto.PurgeInstancesRequest.prototype.getRecursive = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.PurgeInstancesRequest} returns this + */ +proto.PurgeInstancesRequest.prototype.setRecursive = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + +/** + * optional bool isOrchestration = 5; + * @return {boolean} + */ +proto.PurgeInstancesRequest.prototype.getIsorchestration = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.PurgeInstancesRequest} returns this + */ +proto.PurgeInstancesRequest.prototype.setIsorchestration = function(value) { + return jspb.Message.setProto3BooleanField(this, 5, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.PurgeInstanceFilter.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.PurgeInstanceFilter.prototype.toObject = function(opt_includeInstance) { + return proto.PurgeInstanceFilter.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.PurgeInstanceFilter} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.PurgeInstanceFilter.toObject = function(includeInstance, msg) { + var f, obj = { + createdtimefrom: (f = msg.getCreatedtimefrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + createdtimeto: (f = msg.getCreatedtimeto()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + runtimestatusList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.PurgeInstanceFilter} + */ +proto.PurgeInstanceFilter.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.PurgeInstanceFilter; + return proto.PurgeInstanceFilter.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.PurgeInstanceFilter} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.PurgeInstanceFilter} + */ +proto.PurgeInstanceFilter.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCreatedtimefrom(value); + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setCreatedtimeto(value); + break; + case 3: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addRuntimestatus(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.PurgeInstanceFilter.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.PurgeInstanceFilter.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.PurgeInstanceFilter} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.PurgeInstanceFilter.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCreatedtimefrom(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getCreatedtimeto(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getRuntimestatusList(); + if (f.length > 0) { + writer.writePackedEnum( + 3, + f + ); + } +}; + + +/** + * optional google.protobuf.Timestamp createdTimeFrom = 1; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.PurgeInstanceFilter.prototype.getCreatedtimefrom = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.PurgeInstanceFilter} returns this +*/ +proto.PurgeInstanceFilter.prototype.setCreatedtimefrom = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.PurgeInstanceFilter} returns this + */ +proto.PurgeInstanceFilter.prototype.clearCreatedtimefrom = function() { + return this.setCreatedtimefrom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.PurgeInstanceFilter.prototype.hasCreatedtimefrom = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional google.protobuf.Timestamp createdTimeTo = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.PurgeInstanceFilter.prototype.getCreatedtimeto = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.PurgeInstanceFilter} returns this +*/ +proto.PurgeInstanceFilter.prototype.setCreatedtimeto = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.PurgeInstanceFilter} returns this + */ +proto.PurgeInstanceFilter.prototype.clearCreatedtimeto = function() { + return this.setCreatedtimeto(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.PurgeInstanceFilter.prototype.hasCreatedtimeto = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * repeated OrchestrationStatus runtimeStatus = 3; + * @return {!Array} + */ +proto.PurgeInstanceFilter.prototype.getRuntimestatusList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.PurgeInstanceFilter} returns this + */ +proto.PurgeInstanceFilter.prototype.setRuntimestatusList = function(value) { + return jspb.Message.setField(this, 3, value || []); +}; + + +/** + * @param {!proto.OrchestrationStatus} value + * @param {number=} opt_index + * @return {!proto.PurgeInstanceFilter} returns this + */ +proto.PurgeInstanceFilter.prototype.addRuntimestatus = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 3, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.PurgeInstanceFilter} returns this + */ +proto.PurgeInstanceFilter.prototype.clearRuntimestatusList = function() { + return this.setRuntimestatusList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.PurgeInstancesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.PurgeInstancesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.PurgeInstancesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.PurgeInstancesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + deletedinstancecount: jspb.Message.getFieldWithDefault(msg, 1, 0), + iscomplete: (f = msg.getIscomplete()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.PurgeInstancesResponse} + */ +proto.PurgeInstancesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.PurgeInstancesResponse; + return proto.PurgeInstancesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.PurgeInstancesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.PurgeInstancesResponse} + */ +proto.PurgeInstancesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setDeletedinstancecount(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.BoolValue; + reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader); + msg.setIscomplete(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.PurgeInstancesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.PurgeInstancesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.PurgeInstancesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.PurgeInstancesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getDeletedinstancecount(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getIscomplete(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 deletedInstanceCount = 1; + * @return {number} + */ +proto.PurgeInstancesResponse.prototype.getDeletedinstancecount = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.PurgeInstancesResponse} returns this + */ +proto.PurgeInstancesResponse.prototype.setDeletedinstancecount = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional google.protobuf.BoolValue isComplete = 2; + * @return {?proto.google.protobuf.BoolValue} + */ +proto.PurgeInstancesResponse.prototype.getIscomplete = function() { + return /** @type{?proto.google.protobuf.BoolValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.BoolValue|undefined} value + * @return {!proto.PurgeInstancesResponse} returns this +*/ +proto.PurgeInstancesResponse.prototype.setIscomplete = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.PurgeInstancesResponse} returns this + */ +proto.PurgeInstancesResponse.prototype.clearIscomplete = function() { + return this.setIscomplete(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.PurgeInstancesResponse.prototype.hasIscomplete = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.RestartInstanceRequest.prototype.toObject = function(opt_includeInstance) { + return proto.RestartInstanceRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.RestartInstanceRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RestartInstanceRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + restartwithnewinstanceid: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.RestartInstanceRequest} + */ +proto.RestartInstanceRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.RestartInstanceRequest; + return proto.RestartInstanceRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.RestartInstanceRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.RestartInstanceRequest} + */ +proto.RestartInstanceRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRestartwithnewinstanceid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.RestartInstanceRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.RestartInstanceRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.RestartInstanceRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RestartInstanceRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getRestartwithnewinstanceid(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.RestartInstanceRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.RestartInstanceRequest} returns this + */ +proto.RestartInstanceRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bool restartWithNewInstanceId = 2; + * @return {boolean} + */ +proto.RestartInstanceRequest.prototype.getRestartwithnewinstanceid = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.RestartInstanceRequest} returns this + */ +proto.RestartInstanceRequest.prototype.setRestartwithnewinstanceid = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.RestartInstanceResponse.prototype.toObject = function(opt_includeInstance) { + return proto.RestartInstanceResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.RestartInstanceResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RestartInstanceResponse.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.RestartInstanceResponse} + */ +proto.RestartInstanceResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.RestartInstanceResponse; + return proto.RestartInstanceResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.RestartInstanceResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.RestartInstanceResponse} + */ +proto.RestartInstanceResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.RestartInstanceResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.RestartInstanceResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.RestartInstanceResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.RestartInstanceResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.RestartInstanceResponse.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.RestartInstanceResponse} returns this + */ +proto.RestartInstanceResponse.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CreateTaskHubRequest.prototype.toObject = function(opt_includeInstance) { + return proto.CreateTaskHubRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CreateTaskHubRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateTaskHubRequest.toObject = function(includeInstance, msg) { + var f, obj = { + recreateifexists: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CreateTaskHubRequest} + */ +proto.CreateTaskHubRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CreateTaskHubRequest; + return proto.CreateTaskHubRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CreateTaskHubRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CreateTaskHubRequest} + */ +proto.CreateTaskHubRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRecreateifexists(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CreateTaskHubRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CreateTaskHubRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CreateTaskHubRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateTaskHubRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRecreateifexists(); + if (f) { + writer.writeBool( + 1, + f + ); + } +}; + + +/** + * optional bool recreateIfExists = 1; + * @return {boolean} + */ +proto.CreateTaskHubRequest.prototype.getRecreateifexists = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.CreateTaskHubRequest} returns this + */ +proto.CreateTaskHubRequest.prototype.setRecreateifexists = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CreateTaskHubResponse.prototype.toObject = function(opt_includeInstance) { + return proto.CreateTaskHubResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CreateTaskHubResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateTaskHubResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CreateTaskHubResponse} + */ +proto.CreateTaskHubResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CreateTaskHubResponse; + return proto.CreateTaskHubResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CreateTaskHubResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CreateTaskHubResponse} + */ +proto.CreateTaskHubResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CreateTaskHubResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CreateTaskHubResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CreateTaskHubResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CreateTaskHubResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.DeleteTaskHubRequest.prototype.toObject = function(opt_includeInstance) { + return proto.DeleteTaskHubRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.DeleteTaskHubRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.DeleteTaskHubRequest.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.DeleteTaskHubRequest} + */ +proto.DeleteTaskHubRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.DeleteTaskHubRequest; + return proto.DeleteTaskHubRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.DeleteTaskHubRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.DeleteTaskHubRequest} + */ +proto.DeleteTaskHubRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.DeleteTaskHubRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.DeleteTaskHubRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.DeleteTaskHubRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.DeleteTaskHubRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.DeleteTaskHubResponse.prototype.toObject = function(opt_includeInstance) { + return proto.DeleteTaskHubResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.DeleteTaskHubResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.DeleteTaskHubResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.DeleteTaskHubResponse} + */ +proto.DeleteTaskHubResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.DeleteTaskHubResponse; + return proto.DeleteTaskHubResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.DeleteTaskHubResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.DeleteTaskHubResponse} + */ +proto.DeleteTaskHubResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.DeleteTaskHubResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.DeleteTaskHubResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.DeleteTaskHubResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.DeleteTaskHubResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SignalEntityRequest.prototype.toObject = function(opt_includeInstance) { + return proto.SignalEntityRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SignalEntityRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SignalEntityRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + requestid: jspb.Message.getFieldWithDefault(msg, 4, ""), + scheduledtime: (f = msg.getScheduledtime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f), + requesttime: (f = msg.getRequesttime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SignalEntityRequest} + */ +proto.SignalEntityRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SignalEntityRequest; + return proto.SignalEntityRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SignalEntityRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SignalEntityRequest} + */ +proto.SignalEntityRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 4: + var value = /** @type {string} */ (reader.readString()); + msg.setRequestid(value); + break; + case 5: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setScheduledtime(value); + break; + case 6: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + case 7: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setRequesttime(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SignalEntityRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SignalEntityRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SignalEntityRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SignalEntityRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getRequestid(); + if (f.length > 0) { + writer.writeString( + 4, + f + ); + } + f = message.getScheduledtime(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } + f = message.getRequesttime(); + if (f != null) { + writer.writeMessage( + 7, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.SignalEntityRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SignalEntityRequest} returns this + */ +proto.SignalEntityRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.SignalEntityRequest.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SignalEntityRequest} returns this + */ +proto.SignalEntityRequest.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.SignalEntityRequest.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.SignalEntityRequest} returns this +*/ +proto.SignalEntityRequest.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SignalEntityRequest} returns this + */ +proto.SignalEntityRequest.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SignalEntityRequest.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional string requestId = 4; + * @return {string} + */ +proto.SignalEntityRequest.prototype.getRequestid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SignalEntityRequest} returns this + */ +proto.SignalEntityRequest.prototype.setRequestid = function(value) { + return jspb.Message.setProto3StringField(this, 4, value); +}; + + +/** + * optional google.protobuf.Timestamp scheduledTime = 5; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.SignalEntityRequest.prototype.getScheduledtime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.SignalEntityRequest} returns this +*/ +proto.SignalEntityRequest.prototype.setScheduledtime = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SignalEntityRequest} returns this + */ +proto.SignalEntityRequest.prototype.clearScheduledtime = function() { + return this.setScheduledtime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SignalEntityRequest.prototype.hasScheduledtime = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional TraceContext parentTraceContext = 6; + * @return {?proto.TraceContext} + */ +proto.SignalEntityRequest.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 6)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.SignalEntityRequest} returns this +*/ +proto.SignalEntityRequest.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SignalEntityRequest} returns this + */ +proto.SignalEntityRequest.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SignalEntityRequest.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional google.protobuf.Timestamp requestTime = 7; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.SignalEntityRequest.prototype.getRequesttime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.SignalEntityRequest} returns this +*/ +proto.SignalEntityRequest.prototype.setRequesttime = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SignalEntityRequest} returns this + */ +proto.SignalEntityRequest.prototype.clearRequesttime = function() { + return this.setRequesttime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SignalEntityRequest.prototype.hasRequesttime = function() { + return jspb.Message.getField(this, 7) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SignalEntityResponse.prototype.toObject = function(opt_includeInstance) { + return proto.SignalEntityResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SignalEntityResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SignalEntityResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SignalEntityResponse} + */ +proto.SignalEntityResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SignalEntityResponse; + return proto.SignalEntityResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SignalEntityResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SignalEntityResponse} + */ +proto.SignalEntityResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SignalEntityResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SignalEntityResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SignalEntityResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SignalEntityResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.GetEntityRequest.prototype.toObject = function(opt_includeInstance) { + return proto.GetEntityRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.GetEntityRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetEntityRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + includestate: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.GetEntityRequest} + */ +proto.GetEntityRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.GetEntityRequest; + return proto.GetEntityRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.GetEntityRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.GetEntityRequest} + */ +proto.GetEntityRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludestate(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.GetEntityRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.GetEntityRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.GetEntityRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetEntityRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getIncludestate(); + if (f) { + writer.writeBool( + 2, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.GetEntityRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.GetEntityRequest} returns this + */ +proto.GetEntityRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional bool includeState = 2; + * @return {boolean} + */ +proto.GetEntityRequest.prototype.getIncludestate = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.GetEntityRequest} returns this + */ +proto.GetEntityRequest.prototype.setIncludestate = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.GetEntityResponse.prototype.toObject = function(opt_includeInstance) { + return proto.GetEntityResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.GetEntityResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetEntityResponse.toObject = function(includeInstance, msg) { + var f, obj = { + exists: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), + entity: (f = msg.getEntity()) && proto.EntityMetadata.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.GetEntityResponse} + */ +proto.GetEntityResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.GetEntityResponse; + return proto.GetEntityResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.GetEntityResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.GetEntityResponse} + */ +proto.GetEntityResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setExists(value); + break; + case 2: + var value = new proto.EntityMetadata; + reader.readMessage(value,proto.EntityMetadata.deserializeBinaryFromReader); + msg.setEntity(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.GetEntityResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.GetEntityResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.GetEntityResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetEntityResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getExists(); + if (f) { + writer.writeBool( + 1, + f + ); + } + f = message.getEntity(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.EntityMetadata.serializeBinaryToWriter + ); + } +}; + + +/** + * optional bool exists = 1; + * @return {boolean} + */ +proto.GetEntityResponse.prototype.getExists = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.GetEntityResponse} returns this + */ +proto.GetEntityResponse.prototype.setExists = function(value) { + return jspb.Message.setProto3BooleanField(this, 1, value); +}; + + +/** + * optional EntityMetadata entity = 2; + * @return {?proto.EntityMetadata} + */ +proto.GetEntityResponse.prototype.getEntity = function() { + return /** @type{?proto.EntityMetadata} */ ( + jspb.Message.getWrapperField(this, proto.EntityMetadata, 2)); +}; + + +/** + * @param {?proto.EntityMetadata|undefined} value + * @return {!proto.GetEntityResponse} returns this +*/ +proto.GetEntityResponse.prototype.setEntity = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.GetEntityResponse} returns this + */ +proto.GetEntityResponse.prototype.clearEntity = function() { + return this.setEntity(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.GetEntityResponse.prototype.hasEntity = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityQuery.prototype.toObject = function(opt_includeInstance) { + return proto.EntityQuery.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityQuery} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityQuery.toObject = function(includeInstance, msg) { + var f, obj = { + instanceidstartswith: (f = msg.getInstanceidstartswith()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + lastmodifiedfrom: (f = msg.getLastmodifiedfrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + lastmodifiedto: (f = msg.getLastmodifiedto()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + includestate: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), + includetransient: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), + pagesize: (f = msg.getPagesize()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f), + continuationtoken: (f = msg.getContinuationtoken()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityQuery} + */ +proto.EntityQuery.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityQuery; + return proto.EntityQuery.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityQuery} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityQuery} + */ +proto.EntityQuery.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInstanceidstartswith(value); + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setLastmodifiedfrom(value); + break; + case 3: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setLastmodifiedto(value); + break; + case 4: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludestate(value); + break; + case 5: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setIncludetransient(value); + break; + case 6: + var value = new google_protobuf_wrappers_pb.Int32Value; + reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader); + msg.setPagesize(value); + break; + case 7: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setContinuationtoken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityQuery.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityQuery.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityQuery} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityQuery.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceidstartswith(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getLastmodifiedfrom(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getLastmodifiedto(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getIncludestate(); + if (f) { + writer.writeBool( + 4, + f + ); + } + f = message.getIncludetransient(); + if (f) { + writer.writeBool( + 5, + f + ); + } + f = message.getPagesize(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter + ); + } + f = message.getContinuationtoken(); + if (f != null) { + writer.writeMessage( + 7, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.StringValue instanceIdStartsWith = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityQuery.prototype.getInstanceidstartswith = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityQuery} returns this +*/ +proto.EntityQuery.prototype.setInstanceidstartswith = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityQuery} returns this + */ +proto.EntityQuery.prototype.clearInstanceidstartswith = function() { + return this.setInstanceidstartswith(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityQuery.prototype.hasInstanceidstartswith = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional google.protobuf.Timestamp lastModifiedFrom = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.EntityQuery.prototype.getLastmodifiedfrom = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.EntityQuery} returns this +*/ +proto.EntityQuery.prototype.setLastmodifiedfrom = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityQuery} returns this + */ +proto.EntityQuery.prototype.clearLastmodifiedfrom = function() { + return this.setLastmodifiedfrom(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityQuery.prototype.hasLastmodifiedfrom = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.Timestamp lastModifiedTo = 3; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.EntityQuery.prototype.getLastmodifiedto = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.EntityQuery} returns this +*/ +proto.EntityQuery.prototype.setLastmodifiedto = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityQuery} returns this + */ +proto.EntityQuery.prototype.clearLastmodifiedto = function() { + return this.setLastmodifiedto(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityQuery.prototype.hasLastmodifiedto = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional bool includeState = 4; + * @return {boolean} + */ +proto.EntityQuery.prototype.getIncludestate = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.EntityQuery} returns this + */ +proto.EntityQuery.prototype.setIncludestate = function(value) { + return jspb.Message.setProto3BooleanField(this, 4, value); +}; + + +/** + * optional bool includeTransient = 5; + * @return {boolean} + */ +proto.EntityQuery.prototype.getIncludetransient = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.EntityQuery} returns this + */ +proto.EntityQuery.prototype.setIncludetransient = function(value) { + return jspb.Message.setProto3BooleanField(this, 5, value); +}; + + +/** + * optional google.protobuf.Int32Value pageSize = 6; + * @return {?proto.google.protobuf.Int32Value} + */ +proto.EntityQuery.prototype.getPagesize = function() { + return /** @type{?proto.google.protobuf.Int32Value} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 6)); +}; + + +/** + * @param {?proto.google.protobuf.Int32Value|undefined} value + * @return {!proto.EntityQuery} returns this +*/ +proto.EntityQuery.prototype.setPagesize = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityQuery} returns this + */ +proto.EntityQuery.prototype.clearPagesize = function() { + return this.setPagesize(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityQuery.prototype.hasPagesize = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional google.protobuf.StringValue continuationToken = 7; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityQuery.prototype.getContinuationtoken = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityQuery} returns this +*/ +proto.EntityQuery.prototype.setContinuationtoken = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityQuery} returns this + */ +proto.EntityQuery.prototype.clearContinuationtoken = function() { + return this.setContinuationtoken(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityQuery.prototype.hasContinuationtoken = function() { + return jspb.Message.getField(this, 7) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.QueryEntitiesRequest.prototype.toObject = function(opt_includeInstance) { + return proto.QueryEntitiesRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.QueryEntitiesRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.QueryEntitiesRequest.toObject = function(includeInstance, msg) { + var f, obj = { + query: (f = msg.getQuery()) && proto.EntityQuery.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.QueryEntitiesRequest} + */ +proto.QueryEntitiesRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.QueryEntitiesRequest; + return proto.QueryEntitiesRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.QueryEntitiesRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.QueryEntitiesRequest} + */ +proto.QueryEntitiesRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.EntityQuery; + reader.readMessage(value,proto.EntityQuery.deserializeBinaryFromReader); + msg.setQuery(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.QueryEntitiesRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.QueryEntitiesRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.QueryEntitiesRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.QueryEntitiesRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getQuery(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.EntityQuery.serializeBinaryToWriter + ); + } +}; + + +/** + * optional EntityQuery query = 1; + * @return {?proto.EntityQuery} + */ +proto.QueryEntitiesRequest.prototype.getQuery = function() { + return /** @type{?proto.EntityQuery} */ ( + jspb.Message.getWrapperField(this, proto.EntityQuery, 1)); +}; + + +/** + * @param {?proto.EntityQuery|undefined} value + * @return {!proto.QueryEntitiesRequest} returns this +*/ +proto.QueryEntitiesRequest.prototype.setQuery = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.QueryEntitiesRequest} returns this + */ +proto.QueryEntitiesRequest.prototype.clearQuery = function() { + return this.setQuery(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.QueryEntitiesRequest.prototype.hasQuery = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.QueryEntitiesResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.QueryEntitiesResponse.prototype.toObject = function(opt_includeInstance) { + return proto.QueryEntitiesResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.QueryEntitiesResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.QueryEntitiesResponse.toObject = function(includeInstance, msg) { + var f, obj = { + entitiesList: jspb.Message.toObjectList(msg.getEntitiesList(), + proto.EntityMetadata.toObject, includeInstance), + continuationtoken: (f = msg.getContinuationtoken()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.QueryEntitiesResponse} + */ +proto.QueryEntitiesResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.QueryEntitiesResponse; + return proto.QueryEntitiesResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.QueryEntitiesResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.QueryEntitiesResponse} + */ +proto.QueryEntitiesResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.EntityMetadata; + reader.readMessage(value,proto.EntityMetadata.deserializeBinaryFromReader); + msg.addEntities(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setContinuationtoken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.QueryEntitiesResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.QueryEntitiesResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.QueryEntitiesResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.QueryEntitiesResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEntitiesList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.EntityMetadata.serializeBinaryToWriter + ); + } + f = message.getContinuationtoken(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated EntityMetadata entities = 1; + * @return {!Array} + */ +proto.QueryEntitiesResponse.prototype.getEntitiesList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.EntityMetadata, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.QueryEntitiesResponse} returns this +*/ +proto.QueryEntitiesResponse.prototype.setEntitiesList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.EntityMetadata=} opt_value + * @param {number=} opt_index + * @return {!proto.EntityMetadata} + */ +proto.QueryEntitiesResponse.prototype.addEntities = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.EntityMetadata, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.QueryEntitiesResponse} returns this + */ +proto.QueryEntitiesResponse.prototype.clearEntitiesList = function() { + return this.setEntitiesList([]); +}; + + +/** + * optional google.protobuf.StringValue continuationToken = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.QueryEntitiesResponse.prototype.getContinuationtoken = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.QueryEntitiesResponse} returns this +*/ +proto.QueryEntitiesResponse.prototype.setContinuationtoken = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.QueryEntitiesResponse} returns this + */ +proto.QueryEntitiesResponse.prototype.clearContinuationtoken = function() { + return this.setContinuationtoken(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.QueryEntitiesResponse.prototype.hasContinuationtoken = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityMetadata.prototype.toObject = function(opt_includeInstance) { + return proto.EntityMetadata.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityMetadata} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityMetadata.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + lastmodifiedtime: (f = msg.getLastmodifiedtime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + backlogqueuesize: jspb.Message.getFieldWithDefault(msg, 3, 0), + lockedby: (f = msg.getLockedby()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + serializedstate: (f = msg.getSerializedstate()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityMetadata} + */ +proto.EntityMetadata.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityMetadata; + return proto.EntityMetadata.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityMetadata} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityMetadata} + */ +proto.EntityMetadata.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setLastmodifiedtime(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setBacklogqueuesize(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setLockedby(value); + break; + case 5: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setSerializedstate(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityMetadata.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityMetadata.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityMetadata} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityMetadata.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getLastmodifiedtime(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getBacklogqueuesize(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } + f = message.getLockedby(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getSerializedstate(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.EntityMetadata.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityMetadata} returns this + */ +proto.EntityMetadata.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.Timestamp lastModifiedTime = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.EntityMetadata.prototype.getLastmodifiedtime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.EntityMetadata} returns this +*/ +proto.EntityMetadata.prototype.setLastmodifiedtime = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityMetadata} returns this + */ +proto.EntityMetadata.prototype.clearLastmodifiedtime = function() { + return this.setLastmodifiedtime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityMetadata.prototype.hasLastmodifiedtime = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional int32 backlogQueueSize = 3; + * @return {number} + */ +proto.EntityMetadata.prototype.getBacklogqueuesize = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.EntityMetadata} returns this + */ +proto.EntityMetadata.prototype.setBacklogqueuesize = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * optional google.protobuf.StringValue lockedBy = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityMetadata.prototype.getLockedby = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityMetadata} returns this +*/ +proto.EntityMetadata.prototype.setLockedby = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityMetadata} returns this + */ +proto.EntityMetadata.prototype.clearLockedby = function() { + return this.setLockedby(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityMetadata.prototype.hasLockedby = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional google.protobuf.StringValue serializedState = 5; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityMetadata.prototype.getSerializedstate = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityMetadata} returns this +*/ +proto.EntityMetadata.prototype.setSerializedstate = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityMetadata} returns this + */ +proto.EntityMetadata.prototype.clearSerializedstate = function() { + return this.setSerializedstate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityMetadata.prototype.hasSerializedstate = function() { + return jspb.Message.getField(this, 5) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CleanEntityStorageRequest.prototype.toObject = function(opt_includeInstance) { + return proto.CleanEntityStorageRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CleanEntityStorageRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CleanEntityStorageRequest.toObject = function(includeInstance, msg) { + var f, obj = { + continuationtoken: (f = msg.getContinuationtoken()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + removeemptyentities: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + releaseorphanedlocks: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CleanEntityStorageRequest} + */ +proto.CleanEntityStorageRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CleanEntityStorageRequest; + return proto.CleanEntityStorageRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CleanEntityStorageRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CleanEntityStorageRequest} + */ +proto.CleanEntityStorageRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setContinuationtoken(value); + break; + case 2: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRemoveemptyentities(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setReleaseorphanedlocks(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CleanEntityStorageRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CleanEntityStorageRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CleanEntityStorageRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CleanEntityStorageRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContinuationtoken(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getRemoveemptyentities(); + if (f) { + writer.writeBool( + 2, + f + ); + } + f = message.getReleaseorphanedlocks(); + if (f) { + writer.writeBool( + 3, + f + ); + } +}; + + +/** + * optional google.protobuf.StringValue continuationToken = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CleanEntityStorageRequest.prototype.getContinuationtoken = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CleanEntityStorageRequest} returns this +*/ +proto.CleanEntityStorageRequest.prototype.setContinuationtoken = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CleanEntityStorageRequest} returns this + */ +proto.CleanEntityStorageRequest.prototype.clearContinuationtoken = function() { + return this.setContinuationtoken(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CleanEntityStorageRequest.prototype.hasContinuationtoken = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional bool removeEmptyEntities = 2; + * @return {boolean} + */ +proto.CleanEntityStorageRequest.prototype.getRemoveemptyentities = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.CleanEntityStorageRequest} returns this + */ +proto.CleanEntityStorageRequest.prototype.setRemoveemptyentities = function(value) { + return jspb.Message.setProto3BooleanField(this, 2, value); +}; + + +/** + * optional bool releaseOrphanedLocks = 3; + * @return {boolean} + */ +proto.CleanEntityStorageRequest.prototype.getReleaseorphanedlocks = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.CleanEntityStorageRequest} returns this + */ +proto.CleanEntityStorageRequest.prototype.setReleaseorphanedlocks = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CleanEntityStorageResponse.prototype.toObject = function(opt_includeInstance) { + return proto.CleanEntityStorageResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CleanEntityStorageResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CleanEntityStorageResponse.toObject = function(includeInstance, msg) { + var f, obj = { + continuationtoken: (f = msg.getContinuationtoken()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + emptyentitiesremoved: jspb.Message.getFieldWithDefault(msg, 2, 0), + orphanedlocksreleased: jspb.Message.getFieldWithDefault(msg, 3, 0) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CleanEntityStorageResponse} + */ +proto.CleanEntityStorageResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CleanEntityStorageResponse; + return proto.CleanEntityStorageResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CleanEntityStorageResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CleanEntityStorageResponse} + */ +proto.CleanEntityStorageResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setContinuationtoken(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setEmptyentitiesremoved(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setOrphanedlocksreleased(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CleanEntityStorageResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CleanEntityStorageResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CleanEntityStorageResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CleanEntityStorageResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getContinuationtoken(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getEmptyentitiesremoved(); + if (f !== 0) { + writer.writeInt32( + 2, + f + ); + } + f = message.getOrphanedlocksreleased(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } +}; + + +/** + * optional google.protobuf.StringValue continuationToken = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.CleanEntityStorageResponse.prototype.getContinuationtoken = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.CleanEntityStorageResponse} returns this +*/ +proto.CleanEntityStorageResponse.prototype.setContinuationtoken = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.CleanEntityStorageResponse} returns this + */ +proto.CleanEntityStorageResponse.prototype.clearContinuationtoken = function() { + return this.setContinuationtoken(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.CleanEntityStorageResponse.prototype.hasContinuationtoken = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional int32 emptyEntitiesRemoved = 2; + * @return {number} + */ +proto.CleanEntityStorageResponse.prototype.getEmptyentitiesremoved = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.CleanEntityStorageResponse} returns this + */ +proto.CleanEntityStorageResponse.prototype.setEmptyentitiesremoved = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional int32 orphanedLocksReleased = 3; + * @return {number} + */ +proto.CleanEntityStorageResponse.prototype.getOrphanedlocksreleased = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.CleanEntityStorageResponse} returns this + */ +proto.CleanEntityStorageResponse.prototype.setOrphanedlocksreleased = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OrchestratorEntityParameters.prototype.toObject = function(opt_includeInstance) { + return proto.OrchestratorEntityParameters.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OrchestratorEntityParameters} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorEntityParameters.toObject = function(includeInstance, msg) { + var f, obj = { + entitymessagereorderwindow: (f = msg.getEntitymessagereorderwindow()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OrchestratorEntityParameters} + */ +proto.OrchestratorEntityParameters.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OrchestratorEntityParameters; + return proto.OrchestratorEntityParameters.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OrchestratorEntityParameters} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OrchestratorEntityParameters} + */ +proto.OrchestratorEntityParameters.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_duration_pb.Duration; + reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader); + msg.setEntitymessagereorderwindow(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OrchestratorEntityParameters.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OrchestratorEntityParameters.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OrchestratorEntityParameters} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OrchestratorEntityParameters.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEntitymessagereorderwindow(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_duration_pb.Duration.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.Duration entityMessageReorderWindow = 1; + * @return {?proto.google.protobuf.Duration} + */ +proto.OrchestratorEntityParameters.prototype.getEntitymessagereorderwindow = function() { + return /** @type{?proto.google.protobuf.Duration} */ ( + jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 1)); +}; + + +/** + * @param {?proto.google.protobuf.Duration|undefined} value + * @return {!proto.OrchestratorEntityParameters} returns this +*/ +proto.OrchestratorEntityParameters.prototype.setEntitymessagereorderwindow = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OrchestratorEntityParameters} returns this + */ +proto.OrchestratorEntityParameters.prototype.clearEntitymessagereorderwindow = function() { + return this.setEntitymessagereorderwindow(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OrchestratorEntityParameters.prototype.hasEntitymessagereorderwindow = function() { + return jspb.Message.getField(this, 1) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.EntityBatchRequest.repeatedFields_ = [3]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityBatchRequest.prototype.toObject = function(opt_includeInstance) { + return proto.EntityBatchRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityBatchRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityBatchRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + entitystate: (f = msg.getEntitystate()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + operationsList: jspb.Message.toObjectList(msg.getOperationsList(), + proto.OperationRequest.toObject, includeInstance), + propertiesMap: (f = msg.getPropertiesMap()) ? f.toObject(includeInstance, proto.google.protobuf.Value.toObject) : [] + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityBatchRequest} + */ +proto.EntityBatchRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityBatchRequest; + return proto.EntityBatchRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityBatchRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityBatchRequest} + */ +proto.EntityBatchRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setEntitystate(value); + break; + case 3: + var value = new proto.OperationRequest; + reader.readMessage(value,proto.OperationRequest.deserializeBinaryFromReader); + msg.addOperations(value); + break; + case 4: + var value = msg.getPropertiesMap(); + reader.readMessage(value, function(message, reader) { + jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.google.protobuf.Value.deserializeBinaryFromReader, "", new proto.google.protobuf.Value()); + }); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityBatchRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityBatchRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityBatchRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityBatchRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getEntitystate(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getOperationsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 3, + f, + proto.OperationRequest.serializeBinaryToWriter + ); + } + f = message.getPropertiesMap(true); + if (f && f.getLength() > 0) { + f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.google.protobuf.Value.serializeBinaryToWriter); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.EntityBatchRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityBatchRequest} returns this + */ +proto.EntityBatchRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue entityState = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityBatchRequest.prototype.getEntitystate = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityBatchRequest} returns this +*/ +proto.EntityBatchRequest.prototype.setEntitystate = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityBatchRequest} returns this + */ +proto.EntityBatchRequest.prototype.clearEntitystate = function() { + return this.setEntitystate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityBatchRequest.prototype.hasEntitystate = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * repeated OperationRequest operations = 3; + * @return {!Array} + */ +proto.EntityBatchRequest.prototype.getOperationsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.OperationRequest, 3)); +}; + + +/** + * @param {!Array} value + * @return {!proto.EntityBatchRequest} returns this +*/ +proto.EntityBatchRequest.prototype.setOperationsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 3, value); +}; + + +/** + * @param {!proto.OperationRequest=} opt_value + * @param {number=} opt_index + * @return {!proto.OperationRequest} + */ +proto.EntityBatchRequest.prototype.addOperations = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.OperationRequest, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.EntityBatchRequest} returns this + */ +proto.EntityBatchRequest.prototype.clearOperationsList = function() { + return this.setOperationsList([]); +}; + + +/** + * map properties = 4; + * @param {boolean=} opt_noLazyCreate Do not create the map if + * empty, instead returning `undefined` + * @return {!jspb.Map} + */ +proto.EntityBatchRequest.prototype.getPropertiesMap = function(opt_noLazyCreate) { + return /** @type {!jspb.Map} */ ( + jspb.Message.getMapField(this, 4, opt_noLazyCreate, + proto.google.protobuf.Value)); +}; + + +/** + * Clears values from the map. The map will be non-null. + * @return {!proto.EntityBatchRequest} returns this + */ +proto.EntityBatchRequest.prototype.clearPropertiesMap = function() { + this.getPropertiesMap().clear(); + return this;}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.EntityBatchResult.repeatedFields_ = [1,2,6]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityBatchResult.prototype.toObject = function(opt_includeInstance) { + return proto.EntityBatchResult.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityBatchResult} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityBatchResult.toObject = function(includeInstance, msg) { + var f, obj = { + resultsList: jspb.Message.toObjectList(msg.getResultsList(), + proto.OperationResult.toObject, includeInstance), + actionsList: jspb.Message.toObjectList(msg.getActionsList(), + proto.OperationAction.toObject, includeInstance), + entitystate: (f = msg.getEntitystate()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f), + completiontoken: jspb.Message.getFieldWithDefault(msg, 5, ""), + operationinfosList: jspb.Message.toObjectList(msg.getOperationinfosList(), + proto.OperationInfo.toObject, includeInstance), + requiresstate: jspb.Message.getBooleanFieldWithDefault(msg, 7, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityBatchResult} + */ +proto.EntityBatchResult.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityBatchResult; + return proto.EntityBatchResult.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityBatchResult} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityBatchResult} + */ +proto.EntityBatchResult.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.OperationResult; + reader.readMessage(value,proto.OperationResult.deserializeBinaryFromReader); + msg.addResults(value); + break; + case 2: + var value = new proto.OperationAction; + reader.readMessage(value,proto.OperationAction.deserializeBinaryFromReader); + msg.addActions(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setEntitystate(value); + break; + case 4: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + case 5: + var value = /** @type {string} */ (reader.readString()); + msg.setCompletiontoken(value); + break; + case 6: + var value = new proto.OperationInfo; + reader.readMessage(value,proto.OperationInfo.deserializeBinaryFromReader); + msg.addOperationinfos(value); + break; + case 7: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setRequiresstate(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityBatchResult.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityBatchResult.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityBatchResult} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityBatchResult.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getResultsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.OperationResult.serializeBinaryToWriter + ); + } + f = message.getActionsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 2, + f, + proto.OperationAction.serializeBinaryToWriter + ); + } + f = message.getEntitystate(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } + f = message.getCompletiontoken(); + if (f.length > 0) { + writer.writeString( + 5, + f + ); + } + f = message.getOperationinfosList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 6, + f, + proto.OperationInfo.serializeBinaryToWriter + ); + } + f = message.getRequiresstate(); + if (f) { + writer.writeBool( + 7, + f + ); + } +}; + + +/** + * repeated OperationResult results = 1; + * @return {!Array} + */ +proto.EntityBatchResult.prototype.getResultsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.OperationResult, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.EntityBatchResult} returns this +*/ +proto.EntityBatchResult.prototype.setResultsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.OperationResult=} opt_value + * @param {number=} opt_index + * @return {!proto.OperationResult} + */ +proto.EntityBatchResult.prototype.addResults = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.OperationResult, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.EntityBatchResult} returns this + */ +proto.EntityBatchResult.prototype.clearResultsList = function() { + return this.setResultsList([]); +}; + + +/** + * repeated OperationAction actions = 2; + * @return {!Array} + */ +proto.EntityBatchResult.prototype.getActionsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.OperationAction, 2)); +}; + + +/** + * @param {!Array} value + * @return {!proto.EntityBatchResult} returns this +*/ +proto.EntityBatchResult.prototype.setActionsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 2, value); +}; + + +/** + * @param {!proto.OperationAction=} opt_value + * @param {number=} opt_index + * @return {!proto.OperationAction} + */ +proto.EntityBatchResult.prototype.addActions = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.OperationAction, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.EntityBatchResult} returns this + */ +proto.EntityBatchResult.prototype.clearActionsList = function() { + return this.setActionsList([]); +}; + + +/** + * optional google.protobuf.StringValue entityState = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityBatchResult.prototype.getEntitystate = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityBatchResult} returns this +*/ +proto.EntityBatchResult.prototype.setEntitystate = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityBatchResult} returns this + */ +proto.EntityBatchResult.prototype.clearEntitystate = function() { + return this.setEntitystate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityBatchResult.prototype.hasEntitystate = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional TaskFailureDetails failureDetails = 4; + * @return {?proto.TaskFailureDetails} + */ +proto.EntityBatchResult.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 4)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.EntityBatchResult} returns this +*/ +proto.EntityBatchResult.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityBatchResult} returns this + */ +proto.EntityBatchResult.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityBatchResult.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional string completionToken = 5; + * @return {string} + */ +proto.EntityBatchResult.prototype.getCompletiontoken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityBatchResult} returns this + */ +proto.EntityBatchResult.prototype.setCompletiontoken = function(value) { + return jspb.Message.setProto3StringField(this, 5, value); +}; + + +/** + * repeated OperationInfo operationInfos = 6; + * @return {!Array} + */ +proto.EntityBatchResult.prototype.getOperationinfosList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.OperationInfo, 6)); +}; + + +/** + * @param {!Array} value + * @return {!proto.EntityBatchResult} returns this +*/ +proto.EntityBatchResult.prototype.setOperationinfosList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 6, value); +}; + + +/** + * @param {!proto.OperationInfo=} opt_value + * @param {number=} opt_index + * @return {!proto.OperationInfo} + */ +proto.EntityBatchResult.prototype.addOperationinfos = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.OperationInfo, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.EntityBatchResult} returns this + */ +proto.EntityBatchResult.prototype.clearOperationinfosList = function() { + return this.setOperationinfosList([]); +}; + + +/** + * optional bool requiresState = 7; + * @return {boolean} + */ +proto.EntityBatchResult.prototype.getRequiresstate = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.EntityBatchResult} returns this + */ +proto.EntityBatchResult.prototype.setRequiresstate = function(value) { + return jspb.Message.setProto3BooleanField(this, 7, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.EntityRequest.repeatedFields_ = [4]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.EntityRequest.prototype.toObject = function(opt_includeInstance) { + return proto.EntityRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.EntityRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + executionid: jspb.Message.getFieldWithDefault(msg, 2, ""), + entitystate: (f = msg.getEntitystate()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + operationrequestsList: jspb.Message.toObjectList(msg.getOperationrequestsList(), + proto.HistoryEvent.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.EntityRequest} + */ +proto.EntityRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.EntityRequest; + return proto.EntityRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.EntityRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.EntityRequest} + */ +proto.EntityRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setExecutionid(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setEntitystate(value); + break; + case 4: + var value = new proto.HistoryEvent; + reader.readMessage(value,proto.HistoryEvent.deserializeBinaryFromReader); + msg.addOperationrequests(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.EntityRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.EntityRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.EntityRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.EntityRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getExecutionid(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getEntitystate(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getOperationrequestsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 4, + f, + proto.HistoryEvent.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.EntityRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityRequest} returns this + */ +proto.EntityRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string executionId = 2; + * @return {string} + */ +proto.EntityRequest.prototype.getExecutionid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.EntityRequest} returns this + */ +proto.EntityRequest.prototype.setExecutionid = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue entityState = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.EntityRequest.prototype.getEntitystate = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.EntityRequest} returns this +*/ +proto.EntityRequest.prototype.setEntitystate = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.EntityRequest} returns this + */ +proto.EntityRequest.prototype.clearEntitystate = function() { + return this.setEntitystate(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.EntityRequest.prototype.hasEntitystate = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * repeated HistoryEvent operationRequests = 4; + * @return {!Array} + */ +proto.EntityRequest.prototype.getOperationrequestsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.HistoryEvent, 4)); +}; + + +/** + * @param {!Array} value + * @return {!proto.EntityRequest} returns this +*/ +proto.EntityRequest.prototype.setOperationrequestsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 4, value); +}; + + +/** + * @param {!proto.HistoryEvent=} opt_value + * @param {number=} opt_index + * @return {!proto.HistoryEvent} + */ +proto.EntityRequest.prototype.addOperationrequests = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.HistoryEvent, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.EntityRequest} returns this + */ +proto.EntityRequest.prototype.clearOperationrequestsList = function() { + return this.setOperationrequestsList([]); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OperationRequest.prototype.toObject = function(opt_includeInstance) { + return proto.OperationRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OperationRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationRequest.toObject = function(includeInstance, msg) { + var f, obj = { + operation: jspb.Message.getFieldWithDefault(msg, 1, ""), + requestid: jspb.Message.getFieldWithDefault(msg, 2, ""), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + tracecontext: (f = msg.getTracecontext()) && proto.TraceContext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OperationRequest} + */ +proto.OperationRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OperationRequest; + return proto.OperationRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OperationRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OperationRequest} + */ +proto.OperationRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setOperation(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setRequestid(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 4: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setTracecontext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OperationRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OperationRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OperationRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOperation(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getRequestid(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getTracecontext(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string operation = 1; + * @return {string} + */ +proto.OperationRequest.prototype.getOperation = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OperationRequest} returns this + */ +proto.OperationRequest.prototype.setOperation = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string requestId = 2; + * @return {string} + */ +proto.OperationRequest.prototype.getRequestid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OperationRequest} returns this + */ +proto.OperationRequest.prototype.setRequestid = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OperationRequest.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OperationRequest} returns this +*/ +proto.OperationRequest.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationRequest} returns this + */ +proto.OperationRequest.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationRequest.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional TraceContext traceContext = 4; + * @return {?proto.TraceContext} + */ +proto.OperationRequest.prototype.getTracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 4)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.OperationRequest} returns this +*/ +proto.OperationRequest.prototype.setTracecontext = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationRequest} returns this + */ +proto.OperationRequest.prototype.clearTracecontext = function() { + return this.setTracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationRequest.prototype.hasTracecontext = function() { + return jspb.Message.getField(this, 4) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.OperationResult.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.OperationResult.ResulttypeCase = { + RESULTTYPE_NOT_SET: 0, + SUCCESS: 1, + FAILURE: 2 +}; + +/** + * @return {proto.OperationResult.ResulttypeCase} + */ +proto.OperationResult.prototype.getResulttypeCase = function() { + return /** @type {proto.OperationResult.ResulttypeCase} */(jspb.Message.computeOneofCase(this, proto.OperationResult.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OperationResult.prototype.toObject = function(opt_includeInstance) { + return proto.OperationResult.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OperationResult} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationResult.toObject = function(includeInstance, msg) { + var f, obj = { + success: (f = msg.getSuccess()) && proto.OperationResultSuccess.toObject(includeInstance, f), + failure: (f = msg.getFailure()) && proto.OperationResultFailure.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OperationResult} + */ +proto.OperationResult.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OperationResult; + return proto.OperationResult.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OperationResult} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OperationResult} + */ +proto.OperationResult.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.OperationResultSuccess; + reader.readMessage(value,proto.OperationResultSuccess.deserializeBinaryFromReader); + msg.setSuccess(value); + break; + case 2: + var value = new proto.OperationResultFailure; + reader.readMessage(value,proto.OperationResultFailure.deserializeBinaryFromReader); + msg.setFailure(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OperationResult.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OperationResult.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OperationResult} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationResult.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getSuccess(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.OperationResultSuccess.serializeBinaryToWriter + ); + } + f = message.getFailure(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.OperationResultFailure.serializeBinaryToWriter + ); + } +}; + + +/** + * optional OperationResultSuccess success = 1; + * @return {?proto.OperationResultSuccess} + */ +proto.OperationResult.prototype.getSuccess = function() { + return /** @type{?proto.OperationResultSuccess} */ ( + jspb.Message.getWrapperField(this, proto.OperationResultSuccess, 1)); +}; + + +/** + * @param {?proto.OperationResultSuccess|undefined} value + * @return {!proto.OperationResult} returns this +*/ +proto.OperationResult.prototype.setSuccess = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.OperationResult.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationResult} returns this + */ +proto.OperationResult.prototype.clearSuccess = function() { + return this.setSuccess(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationResult.prototype.hasSuccess = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional OperationResultFailure failure = 2; + * @return {?proto.OperationResultFailure} + */ +proto.OperationResult.prototype.getFailure = function() { + return /** @type{?proto.OperationResultFailure} */ ( + jspb.Message.getWrapperField(this, proto.OperationResultFailure, 2)); +}; + + +/** + * @param {?proto.OperationResultFailure|undefined} value + * @return {!proto.OperationResult} returns this +*/ +proto.OperationResult.prototype.setFailure = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.OperationResult.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationResult} returns this + */ +proto.OperationResult.prototype.clearFailure = function() { + return this.setFailure(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationResult.prototype.hasFailure = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OperationInfo.prototype.toObject = function(opt_includeInstance) { + return proto.OperationInfo.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OperationInfo} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationInfo.toObject = function(includeInstance, msg) { + var f, obj = { + requestid: jspb.Message.getFieldWithDefault(msg, 1, ""), + responsedestination: (f = msg.getResponsedestination()) && proto.OrchestrationInstance.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OperationInfo} + */ +proto.OperationInfo.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OperationInfo; + return proto.OperationInfo.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OperationInfo} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OperationInfo} + */ +proto.OperationInfo.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setRequestid(value); + break; + case 2: + var value = new proto.OrchestrationInstance; + reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); + msg.setResponsedestination(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OperationInfo.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OperationInfo.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OperationInfo} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationInfo.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getRequestid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getResponsedestination(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.OrchestrationInstance.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string requestId = 1; + * @return {string} + */ +proto.OperationInfo.prototype.getRequestid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.OperationInfo} returns this + */ +proto.OperationInfo.prototype.setRequestid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional OrchestrationInstance responseDestination = 2; + * @return {?proto.OrchestrationInstance} + */ +proto.OperationInfo.prototype.getResponsedestination = function() { + return /** @type{?proto.OrchestrationInstance} */ ( + jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 2)); +}; + + +/** + * @param {?proto.OrchestrationInstance|undefined} value + * @return {!proto.OperationInfo} returns this +*/ +proto.OperationInfo.prototype.setResponsedestination = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationInfo} returns this + */ +proto.OperationInfo.prototype.clearResponsedestination = function() { + return this.setResponsedestination(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationInfo.prototype.hasResponsedestination = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OperationResultSuccess.prototype.toObject = function(opt_includeInstance) { + return proto.OperationResultSuccess.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OperationResultSuccess} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationResultSuccess.toObject = function(includeInstance, msg) { + var f, obj = { + result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + starttimeutc: (f = msg.getStarttimeutc()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + endtimeutc: (f = msg.getEndtimeutc()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OperationResultSuccess} + */ +proto.OperationResultSuccess.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OperationResultSuccess; + return proto.OperationResultSuccess.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OperationResultSuccess} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OperationResultSuccess} + */ +proto.OperationResultSuccess.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setResult(value); + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setStarttimeutc(value); + break; + case 3: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setEndtimeutc(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OperationResultSuccess.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OperationResultSuccess.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OperationResultSuccess} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationResultSuccess.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getResult(); + if (f != null) { + writer.writeMessage( + 1, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getStarttimeutc(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getEndtimeutc(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional google.protobuf.StringValue result = 1; + * @return {?proto.google.protobuf.StringValue} + */ +proto.OperationResultSuccess.prototype.getResult = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.OperationResultSuccess} returns this +*/ +proto.OperationResultSuccess.prototype.setResult = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationResultSuccess} returns this + */ +proto.OperationResultSuccess.prototype.clearResult = function() { + return this.setResult(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationResultSuccess.prototype.hasResult = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional google.protobuf.Timestamp startTimeUtc = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OperationResultSuccess.prototype.getStarttimeutc = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OperationResultSuccess} returns this +*/ +proto.OperationResultSuccess.prototype.setStarttimeutc = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationResultSuccess} returns this + */ +proto.OperationResultSuccess.prototype.clearStarttimeutc = function() { + return this.setStarttimeutc(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationResultSuccess.prototype.hasStarttimeutc = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.Timestamp endTimeUtc = 3; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OperationResultSuccess.prototype.getEndtimeutc = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OperationResultSuccess} returns this +*/ +proto.OperationResultSuccess.prototype.setEndtimeutc = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationResultSuccess} returns this + */ +proto.OperationResultSuccess.prototype.clearEndtimeutc = function() { + return this.setEndtimeutc(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationResultSuccess.prototype.hasEndtimeutc = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OperationResultFailure.prototype.toObject = function(opt_includeInstance) { + return proto.OperationResultFailure.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OperationResultFailure} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationResultFailure.toObject = function(includeInstance, msg) { + var f, obj = { + failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f), + starttimeutc: (f = msg.getStarttimeutc()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + endtimeutc: (f = msg.getEndtimeutc()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OperationResultFailure} + */ +proto.OperationResultFailure.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OperationResultFailure; + return proto.OperationResultFailure.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OperationResultFailure} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OperationResultFailure} + */ +proto.OperationResultFailure.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.TaskFailureDetails; + reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); + msg.setFailuredetails(value); + break; + case 2: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setStarttimeutc(value); + break; + case 3: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setEndtimeutc(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OperationResultFailure.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OperationResultFailure.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OperationResultFailure} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationResultFailure.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getFailuredetails(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.TaskFailureDetails.serializeBinaryToWriter + ); + } + f = message.getStarttimeutc(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getEndtimeutc(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } +}; + + +/** + * optional TaskFailureDetails failureDetails = 1; + * @return {?proto.TaskFailureDetails} + */ +proto.OperationResultFailure.prototype.getFailuredetails = function() { + return /** @type{?proto.TaskFailureDetails} */ ( + jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 1)); +}; + + +/** + * @param {?proto.TaskFailureDetails|undefined} value + * @return {!proto.OperationResultFailure} returns this +*/ +proto.OperationResultFailure.prototype.setFailuredetails = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationResultFailure} returns this + */ +proto.OperationResultFailure.prototype.clearFailuredetails = function() { + return this.setFailuredetails(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationResultFailure.prototype.hasFailuredetails = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional google.protobuf.Timestamp startTimeUtc = 2; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OperationResultFailure.prototype.getStarttimeutc = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OperationResultFailure} returns this +*/ +proto.OperationResultFailure.prototype.setStarttimeutc = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationResultFailure} returns this + */ +proto.OperationResultFailure.prototype.clearStarttimeutc = function() { + return this.setStarttimeutc(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationResultFailure.prototype.hasStarttimeutc = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional google.protobuf.Timestamp endTimeUtc = 3; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.OperationResultFailure.prototype.getEndtimeutc = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.OperationResultFailure} returns this +*/ +proto.OperationResultFailure.prototype.setEndtimeutc = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationResultFailure} returns this + */ +proto.OperationResultFailure.prototype.clearEndtimeutc = function() { + return this.setEndtimeutc(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationResultFailure.prototype.hasEndtimeutc = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.OperationAction.oneofGroups_ = [[2,3]]; + +/** + * @enum {number} + */ +proto.OperationAction.OperationactiontypeCase = { + OPERATIONACTIONTYPE_NOT_SET: 0, + SENDSIGNAL: 2, + STARTNEWORCHESTRATION: 3 +}; + +/** + * @return {proto.OperationAction.OperationactiontypeCase} + */ +proto.OperationAction.prototype.getOperationactiontypeCase = function() { + return /** @type {proto.OperationAction.OperationactiontypeCase} */(jspb.Message.computeOneofCase(this, proto.OperationAction.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.OperationAction.prototype.toObject = function(opt_includeInstance) { + return proto.OperationAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.OperationAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationAction.toObject = function(includeInstance, msg) { + var f, obj = { + id: jspb.Message.getFieldWithDefault(msg, 1, 0), + sendsignal: (f = msg.getSendsignal()) && proto.SendSignalAction.toObject(includeInstance, f), + startneworchestration: (f = msg.getStartneworchestration()) && proto.StartNewOrchestrationAction.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.OperationAction} + */ +proto.OperationAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.OperationAction; + return proto.OperationAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.OperationAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.OperationAction} + */ +proto.OperationAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setId(value); + break; + case 2: + var value = new proto.SendSignalAction; + reader.readMessage(value,proto.SendSignalAction.deserializeBinaryFromReader); + msg.setSendsignal(value); + break; + case 3: + var value = new proto.StartNewOrchestrationAction; + reader.readMessage(value,proto.StartNewOrchestrationAction.deserializeBinaryFromReader); + msg.setStartneworchestration(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.OperationAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.OperationAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.OperationAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.OperationAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getId(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getSendsignal(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.SendSignalAction.serializeBinaryToWriter + ); + } + f = message.getStartneworchestration(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.StartNewOrchestrationAction.serializeBinaryToWriter + ); + } +}; + + +/** + * optional int32 id = 1; + * @return {number} + */ +proto.OperationAction.prototype.getId = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.OperationAction} returns this + */ +proto.OperationAction.prototype.setId = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional SendSignalAction sendSignal = 2; + * @return {?proto.SendSignalAction} + */ +proto.OperationAction.prototype.getSendsignal = function() { + return /** @type{?proto.SendSignalAction} */ ( + jspb.Message.getWrapperField(this, proto.SendSignalAction, 2)); +}; + + +/** + * @param {?proto.SendSignalAction|undefined} value + * @return {!proto.OperationAction} returns this +*/ +proto.OperationAction.prototype.setSendsignal = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.OperationAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationAction} returns this + */ +proto.OperationAction.prototype.clearSendsignal = function() { + return this.setSendsignal(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationAction.prototype.hasSendsignal = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional StartNewOrchestrationAction startNewOrchestration = 3; + * @return {?proto.StartNewOrchestrationAction} + */ +proto.OperationAction.prototype.getStartneworchestration = function() { + return /** @type{?proto.StartNewOrchestrationAction} */ ( + jspb.Message.getWrapperField(this, proto.StartNewOrchestrationAction, 3)); +}; + + +/** + * @param {?proto.StartNewOrchestrationAction|undefined} value + * @return {!proto.OperationAction} returns this +*/ +proto.OperationAction.prototype.setStartneworchestration = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.OperationAction.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.OperationAction} returns this + */ +proto.OperationAction.prototype.clearStartneworchestration = function() { + return this.setStartneworchestration(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.OperationAction.prototype.hasStartneworchestration = function() { + return jspb.Message.getField(this, 3) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SendSignalAction.prototype.toObject = function(opt_includeInstance) { + return proto.SendSignalAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SendSignalAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SendSignalAction.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + scheduledtime: (f = msg.getScheduledtime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + requesttime: (f = msg.getRequesttime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SendSignalAction} + */ +proto.SendSignalAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SendSignalAction; + return proto.SendSignalAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SendSignalAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SendSignalAction} + */ +proto.SendSignalAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 4: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setScheduledtime(value); + break; + case 5: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setRequesttime(value); + break; + case 6: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SendSignalAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SendSignalAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SendSignalAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SendSignalAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getScheduledtime(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getRequesttime(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 6, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.SendSignalAction.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SendSignalAction} returns this + */ +proto.SendSignalAction.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.SendSignalAction.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.SendSignalAction} returns this + */ +proto.SendSignalAction.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue input = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.SendSignalAction.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.SendSignalAction} returns this +*/ +proto.SendSignalAction.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendSignalAction} returns this + */ +proto.SendSignalAction.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendSignalAction.prototype.hasInput = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.Timestamp scheduledTime = 4; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.SendSignalAction.prototype.getScheduledtime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.SendSignalAction} returns this +*/ +proto.SendSignalAction.prototype.setScheduledtime = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendSignalAction} returns this + */ +proto.SendSignalAction.prototype.clearScheduledtime = function() { + return this.setScheduledtime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendSignalAction.prototype.hasScheduledtime = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional google.protobuf.Timestamp requestTime = 5; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.SendSignalAction.prototype.getRequesttime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.SendSignalAction} returns this +*/ +proto.SendSignalAction.prototype.setRequesttime = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendSignalAction} returns this + */ +proto.SendSignalAction.prototype.clearRequesttime = function() { + return this.setRequesttime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendSignalAction.prototype.hasRequesttime = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional TraceContext parentTraceContext = 6; + * @return {?proto.TraceContext} + */ +proto.SendSignalAction.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 6)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.SendSignalAction} returns this +*/ +proto.SendSignalAction.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SendSignalAction} returns this + */ +proto.SendSignalAction.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SendSignalAction.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 6) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.StartNewOrchestrationAction.prototype.toObject = function(opt_includeInstance) { + return proto.StartNewOrchestrationAction.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.StartNewOrchestrationAction} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.StartNewOrchestrationAction.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + name: jspb.Message.getFieldWithDefault(msg, 2, ""), + version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + scheduledtime: (f = msg.getScheduledtime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + requesttime: (f = msg.getRequesttime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), + parenttracecontext: (f = msg.getParenttracecontext()) && proto.TraceContext.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.StartNewOrchestrationAction} + */ +proto.StartNewOrchestrationAction.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.StartNewOrchestrationAction; + return proto.StartNewOrchestrationAction.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.StartNewOrchestrationAction} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.StartNewOrchestrationAction} + */ +proto.StartNewOrchestrationAction.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setName(value); + break; + case 3: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setVersion(value); + break; + case 4: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setInput(value); + break; + case 5: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setScheduledtime(value); + break; + case 6: + var value = new google_protobuf_timestamp_pb.Timestamp; + reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); + msg.setRequesttime(value); + break; + case 7: + var value = new proto.TraceContext; + reader.readMessage(value,proto.TraceContext.deserializeBinaryFromReader); + msg.setParenttracecontext(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.StartNewOrchestrationAction.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.StartNewOrchestrationAction.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.StartNewOrchestrationAction} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.StartNewOrchestrationAction.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getName(); + if (f.length > 0) { + writer.writeString( + 2, + f + ); + } + f = message.getVersion(); + if (f != null) { + writer.writeMessage( + 3, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getInput(); + if (f != null) { + writer.writeMessage( + 4, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getScheduledtime(); + if (f != null) { + writer.writeMessage( + 5, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getRequesttime(); + if (f != null) { + writer.writeMessage( + 6, + f, + google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter + ); + } + f = message.getParenttracecontext(); + if (f != null) { + writer.writeMessage( + 7, + f, + proto.TraceContext.serializeBinaryToWriter + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.StartNewOrchestrationAction.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.StartNewOrchestrationAction} returns this + */ +proto.StartNewOrchestrationAction.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional string name = 2; + * @return {string} + */ +proto.StartNewOrchestrationAction.prototype.getName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.StartNewOrchestrationAction} returns this + */ +proto.StartNewOrchestrationAction.prototype.setName = function(value) { + return jspb.Message.setProto3StringField(this, 2, value); +}; + + +/** + * optional google.protobuf.StringValue version = 3; + * @return {?proto.google.protobuf.StringValue} + */ +proto.StartNewOrchestrationAction.prototype.getVersion = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.StartNewOrchestrationAction} returns this +*/ +proto.StartNewOrchestrationAction.prototype.setVersion = function(value) { + return jspb.Message.setWrapperField(this, 3, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.StartNewOrchestrationAction} returns this + */ +proto.StartNewOrchestrationAction.prototype.clearVersion = function() { + return this.setVersion(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.StartNewOrchestrationAction.prototype.hasVersion = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional google.protobuf.StringValue input = 4; + * @return {?proto.google.protobuf.StringValue} + */ +proto.StartNewOrchestrationAction.prototype.getInput = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.StartNewOrchestrationAction} returns this +*/ +proto.StartNewOrchestrationAction.prototype.setInput = function(value) { + return jspb.Message.setWrapperField(this, 4, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.StartNewOrchestrationAction} returns this + */ +proto.StartNewOrchestrationAction.prototype.clearInput = function() { + return this.setInput(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.StartNewOrchestrationAction.prototype.hasInput = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional google.protobuf.Timestamp scheduledTime = 5; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.StartNewOrchestrationAction.prototype.getScheduledtime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.StartNewOrchestrationAction} returns this +*/ +proto.StartNewOrchestrationAction.prototype.setScheduledtime = function(value) { + return jspb.Message.setWrapperField(this, 5, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.StartNewOrchestrationAction} returns this + */ +proto.StartNewOrchestrationAction.prototype.clearScheduledtime = function() { + return this.setScheduledtime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.StartNewOrchestrationAction.prototype.hasScheduledtime = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional google.protobuf.Timestamp requestTime = 6; + * @return {?proto.google.protobuf.Timestamp} + */ +proto.StartNewOrchestrationAction.prototype.getRequesttime = function() { + return /** @type{?proto.google.protobuf.Timestamp} */ ( + jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6)); +}; + + +/** + * @param {?proto.google.protobuf.Timestamp|undefined} value + * @return {!proto.StartNewOrchestrationAction} returns this +*/ +proto.StartNewOrchestrationAction.prototype.setRequesttime = function(value) { + return jspb.Message.setWrapperField(this, 6, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.StartNewOrchestrationAction} returns this + */ +proto.StartNewOrchestrationAction.prototype.clearRequesttime = function() { + return this.setRequesttime(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.StartNewOrchestrationAction.prototype.hasRequesttime = function() { + return jspb.Message.getField(this, 6) != null; +}; + + +/** + * optional TraceContext parentTraceContext = 7; + * @return {?proto.TraceContext} + */ +proto.StartNewOrchestrationAction.prototype.getParenttracecontext = function() { + return /** @type{?proto.TraceContext} */ ( + jspb.Message.getWrapperField(this, proto.TraceContext, 7)); +}; + + +/** + * @param {?proto.TraceContext|undefined} value + * @return {!proto.StartNewOrchestrationAction} returns this +*/ +proto.StartNewOrchestrationAction.prototype.setParenttracecontext = function(value) { + return jspb.Message.setWrapperField(this, 7, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.StartNewOrchestrationAction} returns this + */ +proto.StartNewOrchestrationAction.prototype.clearParenttracecontext = function() { + return this.setParenttracecontext(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.StartNewOrchestrationAction.prototype.hasParenttracecontext = function() { + return jspb.Message.getField(this, 7) != null; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.AbandonActivityTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.AbandonActivityTaskRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.AbandonActivityTaskRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonActivityTaskRequest.toObject = function(includeInstance, msg) { + var f, obj = { + completiontoken: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.AbandonActivityTaskRequest} + */ +proto.AbandonActivityTaskRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.AbandonActivityTaskRequest; + return proto.AbandonActivityTaskRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.AbandonActivityTaskRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.AbandonActivityTaskRequest} + */ +proto.AbandonActivityTaskRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setCompletiontoken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.AbandonActivityTaskRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.AbandonActivityTaskRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.AbandonActivityTaskRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonActivityTaskRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCompletiontoken(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string completionToken = 1; + * @return {string} + */ +proto.AbandonActivityTaskRequest.prototype.getCompletiontoken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.AbandonActivityTaskRequest} returns this + */ +proto.AbandonActivityTaskRequest.prototype.setCompletiontoken = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.AbandonActivityTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.AbandonActivityTaskResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.AbandonActivityTaskResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonActivityTaskResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.AbandonActivityTaskResponse} + */ +proto.AbandonActivityTaskResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.AbandonActivityTaskResponse; + return proto.AbandonActivityTaskResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.AbandonActivityTaskResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.AbandonActivityTaskResponse} + */ +proto.AbandonActivityTaskResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.AbandonActivityTaskResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.AbandonActivityTaskResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.AbandonActivityTaskResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonActivityTaskResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.AbandonOrchestrationTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.AbandonOrchestrationTaskRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.AbandonOrchestrationTaskRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonOrchestrationTaskRequest.toObject = function(includeInstance, msg) { + var f, obj = { + completiontoken: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.AbandonOrchestrationTaskRequest} + */ +proto.AbandonOrchestrationTaskRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.AbandonOrchestrationTaskRequest; + return proto.AbandonOrchestrationTaskRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.AbandonOrchestrationTaskRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.AbandonOrchestrationTaskRequest} + */ +proto.AbandonOrchestrationTaskRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setCompletiontoken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.AbandonOrchestrationTaskRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.AbandonOrchestrationTaskRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.AbandonOrchestrationTaskRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonOrchestrationTaskRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCompletiontoken(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string completionToken = 1; + * @return {string} + */ +proto.AbandonOrchestrationTaskRequest.prototype.getCompletiontoken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.AbandonOrchestrationTaskRequest} returns this + */ +proto.AbandonOrchestrationTaskRequest.prototype.setCompletiontoken = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.AbandonOrchestrationTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.AbandonOrchestrationTaskResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.AbandonOrchestrationTaskResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonOrchestrationTaskResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.AbandonOrchestrationTaskResponse} + */ +proto.AbandonOrchestrationTaskResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.AbandonOrchestrationTaskResponse; + return proto.AbandonOrchestrationTaskResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.AbandonOrchestrationTaskResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.AbandonOrchestrationTaskResponse} + */ +proto.AbandonOrchestrationTaskResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.AbandonOrchestrationTaskResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.AbandonOrchestrationTaskResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.AbandonOrchestrationTaskResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonOrchestrationTaskResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.AbandonEntityTaskRequest.prototype.toObject = function(opt_includeInstance) { + return proto.AbandonEntityTaskRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.AbandonEntityTaskRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonEntityTaskRequest.toObject = function(includeInstance, msg) { + var f, obj = { + completiontoken: jspb.Message.getFieldWithDefault(msg, 1, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.AbandonEntityTaskRequest} + */ +proto.AbandonEntityTaskRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.AbandonEntityTaskRequest; + return proto.AbandonEntityTaskRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.AbandonEntityTaskRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.AbandonEntityTaskRequest} + */ +proto.AbandonEntityTaskRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setCompletiontoken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.AbandonEntityTaskRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.AbandonEntityTaskRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.AbandonEntityTaskRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonEntityTaskRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getCompletiontoken(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } +}; + + +/** + * optional string completionToken = 1; + * @return {string} + */ +proto.AbandonEntityTaskRequest.prototype.getCompletiontoken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.AbandonEntityTaskRequest} returns this + */ +proto.AbandonEntityTaskRequest.prototype.setCompletiontoken = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.AbandonEntityTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.AbandonEntityTaskResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.AbandonEntityTaskResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonEntityTaskResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.AbandonEntityTaskResponse} + */ +proto.AbandonEntityTaskResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.AbandonEntityTaskResponse; + return proto.AbandonEntityTaskResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.AbandonEntityTaskResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.AbandonEntityTaskResponse} + */ +proto.AbandonEntityTaskResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.AbandonEntityTaskResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.AbandonEntityTaskResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.AbandonEntityTaskResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.AbandonEntityTaskResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.SkipGracefulOrchestrationTerminationsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SkipGracefulOrchestrationTerminationsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SkipGracefulOrchestrationTerminationsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instancebatch: (f = msg.getInstancebatch()) && proto.InstanceBatch.toObject(includeInstance, f), + reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SkipGracefulOrchestrationTerminationsRequest} + */ +proto.SkipGracefulOrchestrationTerminationsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SkipGracefulOrchestrationTerminationsRequest; + return proto.SkipGracefulOrchestrationTerminationsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SkipGracefulOrchestrationTerminationsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SkipGracefulOrchestrationTerminationsRequest} + */ +proto.SkipGracefulOrchestrationTerminationsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.InstanceBatch; + reader.readMessage(value,proto.InstanceBatch.deserializeBinaryFromReader); + msg.setInstancebatch(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setReason(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SkipGracefulOrchestrationTerminationsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SkipGracefulOrchestrationTerminationsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SkipGracefulOrchestrationTerminationsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstancebatch(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.InstanceBatch.serializeBinaryToWriter + ); + } + f = message.getReason(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } +}; + + +/** + * optional InstanceBatch instanceBatch = 1; + * @return {?proto.InstanceBatch} + */ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.getInstancebatch = function() { + return /** @type{?proto.InstanceBatch} */ ( + jspb.Message.getWrapperField(this, proto.InstanceBatch, 1)); +}; + + +/** + * @param {?proto.InstanceBatch|undefined} value + * @return {!proto.SkipGracefulOrchestrationTerminationsRequest} returns this +*/ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.setInstancebatch = function(value) { + return jspb.Message.setWrapperField(this, 1, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SkipGracefulOrchestrationTerminationsRequest} returns this + */ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.clearInstancebatch = function() { + return this.setInstancebatch(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.hasInstancebatch = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional google.protobuf.StringValue reason = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.getReason = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.SkipGracefulOrchestrationTerminationsRequest} returns this +*/ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.setReason = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.SkipGracefulOrchestrationTerminationsRequest} returns this + */ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.clearReason = function() { + return this.setReason(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.SkipGracefulOrchestrationTerminationsRequest.prototype.hasReason = function() { + return jspb.Message.getField(this, 2) != null; +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.SkipGracefulOrchestrationTerminationsResponse.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.SkipGracefulOrchestrationTerminationsResponse.prototype.toObject = function(opt_includeInstance) { + return proto.SkipGracefulOrchestrationTerminationsResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.SkipGracefulOrchestrationTerminationsResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SkipGracefulOrchestrationTerminationsResponse.toObject = function(includeInstance, msg) { + var f, obj = { + unterminatedinstanceidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.SkipGracefulOrchestrationTerminationsResponse} + */ +proto.SkipGracefulOrchestrationTerminationsResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.SkipGracefulOrchestrationTerminationsResponse; + return proto.SkipGracefulOrchestrationTerminationsResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.SkipGracefulOrchestrationTerminationsResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.SkipGracefulOrchestrationTerminationsResponse} + */ +proto.SkipGracefulOrchestrationTerminationsResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addUnterminatedinstanceids(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.SkipGracefulOrchestrationTerminationsResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.SkipGracefulOrchestrationTerminationsResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.SkipGracefulOrchestrationTerminationsResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.SkipGracefulOrchestrationTerminationsResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getUnterminatedinstanceidsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string unterminatedInstanceIds = 1; + * @return {!Array} + */ +proto.SkipGracefulOrchestrationTerminationsResponse.prototype.getUnterminatedinstanceidsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.SkipGracefulOrchestrationTerminationsResponse} returns this + */ +proto.SkipGracefulOrchestrationTerminationsResponse.prototype.setUnterminatedinstanceidsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.SkipGracefulOrchestrationTerminationsResponse} returns this + */ +proto.SkipGracefulOrchestrationTerminationsResponse.prototype.addUnterminatedinstanceids = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.SkipGracefulOrchestrationTerminationsResponse} returns this + */ +proto.SkipGracefulOrchestrationTerminationsResponse.prototype.clearUnterminatedinstanceidsList = function() { + return this.setUnterminatedinstanceidsList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.GetWorkItemsRequest.repeatedFields_ = [10]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.GetWorkItemsRequest.prototype.toObject = function(opt_includeInstance) { + return proto.GetWorkItemsRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.GetWorkItemsRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetWorkItemsRequest.toObject = function(includeInstance, msg) { + var f, obj = { + maxconcurrentorchestrationworkitems: jspb.Message.getFieldWithDefault(msg, 1, 0), + maxconcurrentactivityworkitems: jspb.Message.getFieldWithDefault(msg, 2, 0), + maxconcurrententityworkitems: jspb.Message.getFieldWithDefault(msg, 3, 0), + capabilitiesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.GetWorkItemsRequest} + */ +proto.GetWorkItemsRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.GetWorkItemsRequest; + return proto.GetWorkItemsRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.GetWorkItemsRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.GetWorkItemsRequest} + */ +proto.GetWorkItemsRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMaxconcurrentorchestrationworkitems(value); + break; + case 2: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMaxconcurrentactivityworkitems(value); + break; + case 3: + var value = /** @type {number} */ (reader.readInt32()); + msg.setMaxconcurrententityworkitems(value); + break; + case 10: + var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); + for (var i = 0; i < values.length; i++) { + msg.addCapabilities(values[i]); + } + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.GetWorkItemsRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.GetWorkItemsRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.GetWorkItemsRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.GetWorkItemsRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getMaxconcurrentorchestrationworkitems(); + if (f !== 0) { + writer.writeInt32( + 1, + f + ); + } + f = message.getMaxconcurrentactivityworkitems(); + if (f !== 0) { + writer.writeInt32( + 2, + f + ); + } + f = message.getMaxconcurrententityworkitems(); + if (f !== 0) { + writer.writeInt32( + 3, + f + ); + } + f = message.getCapabilitiesList(); + if (f.length > 0) { + writer.writePackedEnum( + 10, + f + ); + } +}; + + +/** + * optional int32 maxConcurrentOrchestrationWorkItems = 1; + * @return {number} + */ +proto.GetWorkItemsRequest.prototype.getMaxconcurrentorchestrationworkitems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.GetWorkItemsRequest} returns this + */ +proto.GetWorkItemsRequest.prototype.setMaxconcurrentorchestrationworkitems = function(value) { + return jspb.Message.setProto3IntField(this, 1, value); +}; + + +/** + * optional int32 maxConcurrentActivityWorkItems = 2; + * @return {number} + */ +proto.GetWorkItemsRequest.prototype.getMaxconcurrentactivityworkitems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.GetWorkItemsRequest} returns this + */ +proto.GetWorkItemsRequest.prototype.setMaxconcurrentactivityworkitems = function(value) { + return jspb.Message.setProto3IntField(this, 2, value); +}; + + +/** + * optional int32 maxConcurrentEntityWorkItems = 3; + * @return {number} + */ +proto.GetWorkItemsRequest.prototype.getMaxconcurrententityworkitems = function() { + return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0)); +}; + + +/** + * @param {number} value + * @return {!proto.GetWorkItemsRequest} returns this + */ +proto.GetWorkItemsRequest.prototype.setMaxconcurrententityworkitems = function(value) { + return jspb.Message.setProto3IntField(this, 3, value); +}; + + +/** + * repeated WorkerCapability capabilities = 10; + * @return {!Array} + */ +proto.GetWorkItemsRequest.prototype.getCapabilitiesList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 10)); +}; + + +/** + * @param {!Array} value + * @return {!proto.GetWorkItemsRequest} returns this + */ +proto.GetWorkItemsRequest.prototype.setCapabilitiesList = function(value) { + return jspb.Message.setField(this, 10, value || []); +}; + + +/** + * @param {!proto.WorkerCapability} value + * @param {number=} opt_index + * @return {!proto.GetWorkItemsRequest} returns this + */ +proto.GetWorkItemsRequest.prototype.addCapabilities = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 10, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.GetWorkItemsRequest} returns this + */ +proto.GetWorkItemsRequest.prototype.clearCapabilitiesList = function() { + return this.setCapabilitiesList([]); +}; + + + +/** + * Oneof group definitions for this message. Each group defines the field + * numbers belonging to that group. When of these fields' value is set, all + * other fields in the group are cleared. During deserialization, if multiple + * fields are encountered for a group, only the last value seen will be kept. + * @private {!Array>} + * @const + */ +proto.WorkItem.oneofGroups_ = [[1,2,3,4,5]]; + +/** + * @enum {number} + */ +proto.WorkItem.RequestCase = { + REQUEST_NOT_SET: 0, + ORCHESTRATORREQUEST: 1, + ACTIVITYREQUEST: 2, + ENTITYREQUEST: 3, + HEALTHPING: 4, + ENTITYREQUESTV2: 5 +}; + +/** + * @return {proto.WorkItem.RequestCase} + */ +proto.WorkItem.prototype.getRequestCase = function() { + return /** @type {proto.WorkItem.RequestCase} */(jspb.Message.computeOneofCase(this, proto.WorkItem.oneofGroups_[0])); +}; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.WorkItem.prototype.toObject = function(opt_includeInstance) { + return proto.WorkItem.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.WorkItem} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.WorkItem.toObject = function(includeInstance, msg) { + var f, obj = { + orchestratorrequest: (f = msg.getOrchestratorrequest()) && proto.OrchestratorRequest.toObject(includeInstance, f), + activityrequest: (f = msg.getActivityrequest()) && proto.ActivityRequest.toObject(includeInstance, f), + entityrequest: (f = msg.getEntityrequest()) && proto.EntityBatchRequest.toObject(includeInstance, f), + healthping: (f = msg.getHealthping()) && proto.HealthPing.toObject(includeInstance, f), + entityrequestv2: (f = msg.getEntityrequestv2()) && proto.EntityRequest.toObject(includeInstance, f), + completiontoken: jspb.Message.getFieldWithDefault(msg, 10, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.WorkItem} + */ +proto.WorkItem.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.WorkItem; + return proto.WorkItem.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.WorkItem} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.WorkItem} + */ +proto.WorkItem.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.OrchestratorRequest; + reader.readMessage(value,proto.OrchestratorRequest.deserializeBinaryFromReader); + msg.setOrchestratorrequest(value); + break; + case 2: + var value = new proto.ActivityRequest; + reader.readMessage(value,proto.ActivityRequest.deserializeBinaryFromReader); + msg.setActivityrequest(value); + break; + case 3: + var value = new proto.EntityBatchRequest; + reader.readMessage(value,proto.EntityBatchRequest.deserializeBinaryFromReader); + msg.setEntityrequest(value); + break; + case 4: + var value = new proto.HealthPing; + reader.readMessage(value,proto.HealthPing.deserializeBinaryFromReader); + msg.setHealthping(value); + break; + case 5: + var value = new proto.EntityRequest; + reader.readMessage(value,proto.EntityRequest.deserializeBinaryFromReader); + msg.setEntityrequestv2(value); + break; + case 10: + var value = /** @type {string} */ (reader.readString()); + msg.setCompletiontoken(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.WorkItem.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.WorkItem.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.WorkItem} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.WorkItem.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getOrchestratorrequest(); + if (f != null) { + writer.writeMessage( + 1, + f, + proto.OrchestratorRequest.serializeBinaryToWriter + ); + } + f = message.getActivityrequest(); + if (f != null) { + writer.writeMessage( + 2, + f, + proto.ActivityRequest.serializeBinaryToWriter + ); + } + f = message.getEntityrequest(); + if (f != null) { + writer.writeMessage( + 3, + f, + proto.EntityBatchRequest.serializeBinaryToWriter + ); + } + f = message.getHealthping(); + if (f != null) { + writer.writeMessage( + 4, + f, + proto.HealthPing.serializeBinaryToWriter + ); + } + f = message.getEntityrequestv2(); + if (f != null) { + writer.writeMessage( + 5, + f, + proto.EntityRequest.serializeBinaryToWriter + ); + } + f = message.getCompletiontoken(); + if (f.length > 0) { + writer.writeString( + 10, + f + ); + } +}; + + +/** + * optional OrchestratorRequest orchestratorRequest = 1; + * @return {?proto.OrchestratorRequest} + */ +proto.WorkItem.prototype.getOrchestratorrequest = function() { + return /** @type{?proto.OrchestratorRequest} */ ( + jspb.Message.getWrapperField(this, proto.OrchestratorRequest, 1)); +}; + + +/** + * @param {?proto.OrchestratorRequest|undefined} value + * @return {!proto.WorkItem} returns this +*/ +proto.WorkItem.prototype.setOrchestratorrequest = function(value) { + return jspb.Message.setOneofWrapperField(this, 1, proto.WorkItem.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.WorkItem} returns this + */ +proto.WorkItem.prototype.clearOrchestratorrequest = function() { + return this.setOrchestratorrequest(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.WorkItem.prototype.hasOrchestratorrequest = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional ActivityRequest activityRequest = 2; + * @return {?proto.ActivityRequest} + */ +proto.WorkItem.prototype.getActivityrequest = function() { + return /** @type{?proto.ActivityRequest} */ ( + jspb.Message.getWrapperField(this, proto.ActivityRequest, 2)); +}; + + +/** + * @param {?proto.ActivityRequest|undefined} value + * @return {!proto.WorkItem} returns this +*/ +proto.WorkItem.prototype.setActivityrequest = function(value) { + return jspb.Message.setOneofWrapperField(this, 2, proto.WorkItem.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.WorkItem} returns this + */ +proto.WorkItem.prototype.clearActivityrequest = function() { + return this.setActivityrequest(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.WorkItem.prototype.hasActivityrequest = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional EntityBatchRequest entityRequest = 3; + * @return {?proto.EntityBatchRequest} + */ +proto.WorkItem.prototype.getEntityrequest = function() { + return /** @type{?proto.EntityBatchRequest} */ ( + jspb.Message.getWrapperField(this, proto.EntityBatchRequest, 3)); +}; + + +/** + * @param {?proto.EntityBatchRequest|undefined} value + * @return {!proto.WorkItem} returns this +*/ +proto.WorkItem.prototype.setEntityrequest = function(value) { + return jspb.Message.setOneofWrapperField(this, 3, proto.WorkItem.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.WorkItem} returns this + */ +proto.WorkItem.prototype.clearEntityrequest = function() { + return this.setEntityrequest(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.WorkItem.prototype.hasEntityrequest = function() { + return jspb.Message.getField(this, 3) != null; +}; + + +/** + * optional HealthPing healthPing = 4; + * @return {?proto.HealthPing} + */ +proto.WorkItem.prototype.getHealthping = function() { + return /** @type{?proto.HealthPing} */ ( + jspb.Message.getWrapperField(this, proto.HealthPing, 4)); +}; + + +/** + * @param {?proto.HealthPing|undefined} value + * @return {!proto.WorkItem} returns this +*/ +proto.WorkItem.prototype.setHealthping = function(value) { + return jspb.Message.setOneofWrapperField(this, 4, proto.WorkItem.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.WorkItem} returns this + */ +proto.WorkItem.prototype.clearHealthping = function() { + return this.setHealthping(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.WorkItem.prototype.hasHealthping = function() { + return jspb.Message.getField(this, 4) != null; +}; + + +/** + * optional EntityRequest entityRequestV2 = 5; + * @return {?proto.EntityRequest} + */ +proto.WorkItem.prototype.getEntityrequestv2 = function() { + return /** @type{?proto.EntityRequest} */ ( + jspb.Message.getWrapperField(this, proto.EntityRequest, 5)); +}; + + +/** + * @param {?proto.EntityRequest|undefined} value + * @return {!proto.WorkItem} returns this +*/ +proto.WorkItem.prototype.setEntityrequestv2 = function(value) { + return jspb.Message.setOneofWrapperField(this, 5, proto.WorkItem.oneofGroups_[0], value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.WorkItem} returns this + */ +proto.WorkItem.prototype.clearEntityrequestv2 = function() { + return this.setEntityrequestv2(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.WorkItem.prototype.hasEntityrequestv2 = function() { + return jspb.Message.getField(this, 5) != null; +}; + + +/** + * optional string completionToken = 10; + * @return {string} + */ +proto.WorkItem.prototype.getCompletiontoken = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, "")); +}; + + +/** + * @param {string} value + * @return {!proto.WorkItem} returns this + */ +proto.WorkItem.prototype.setCompletiontoken = function(value) { + return jspb.Message.setProto3StringField(this, 10, value); +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.CompleteTaskResponse.prototype.toObject = function(opt_includeInstance) { + return proto.CompleteTaskResponse.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.CompleteTaskResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CompleteTaskResponse.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.CompleteTaskResponse} + */ +proto.CompleteTaskResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.CompleteTaskResponse; + return proto.CompleteTaskResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.CompleteTaskResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.CompleteTaskResponse} + */ +proto.CompleteTaskResponse.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.CompleteTaskResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.CompleteTaskResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.CompleteTaskResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.CompleteTaskResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.HealthPing.prototype.toObject = function(opt_includeInstance) { + return proto.HealthPing.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.HealthPing} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.HealthPing.toObject = function(includeInstance, msg) { + var f, obj = { + + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.HealthPing} + */ +proto.HealthPing.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.HealthPing; + return proto.HealthPing.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.HealthPing} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.HealthPing} + */ +proto.HealthPing.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.HealthPing.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.HealthPing.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.HealthPing} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.HealthPing.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.StreamInstanceHistoryRequest.prototype.toObject = function(opt_includeInstance) { + return proto.StreamInstanceHistoryRequest.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.StreamInstanceHistoryRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.StreamInstanceHistoryRequest.toObject = function(includeInstance, msg) { + var f, obj = { + instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), + executionid: (f = msg.getExecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), + forworkitemprocessing: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.StreamInstanceHistoryRequest} + */ +proto.StreamInstanceHistoryRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.StreamInstanceHistoryRequest; + return proto.StreamInstanceHistoryRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.StreamInstanceHistoryRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.StreamInstanceHistoryRequest} + */ +proto.StreamInstanceHistoryRequest.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.setInstanceid(value); + break; + case 2: + var value = new google_protobuf_wrappers_pb.StringValue; + reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); + msg.setExecutionid(value); + break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setForworkitemprocessing(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.StreamInstanceHistoryRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.StreamInstanceHistoryRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.StreamInstanceHistoryRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.StreamInstanceHistoryRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceid(); + if (f.length > 0) { + writer.writeString( + 1, + f + ); + } + f = message.getExecutionid(); + if (f != null) { + writer.writeMessage( + 2, + f, + google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter + ); + } + f = message.getForworkitemprocessing(); + if (f) { + writer.writeBool( + 3, + f + ); + } +}; + + +/** + * optional string instanceId = 1; + * @return {string} + */ +proto.StreamInstanceHistoryRequest.prototype.getInstanceid = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.StreamInstanceHistoryRequest} returns this + */ +proto.StreamInstanceHistoryRequest.prototype.setInstanceid = function(value) { + return jspb.Message.setProto3StringField(this, 1, value); +}; + + +/** + * optional google.protobuf.StringValue executionId = 2; + * @return {?proto.google.protobuf.StringValue} + */ +proto.StreamInstanceHistoryRequest.prototype.getExecutionid = function() { + return /** @type{?proto.google.protobuf.StringValue} */ ( + jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); +}; + + +/** + * @param {?proto.google.protobuf.StringValue|undefined} value + * @return {!proto.StreamInstanceHistoryRequest} returns this +*/ +proto.StreamInstanceHistoryRequest.prototype.setExecutionid = function(value) { + return jspb.Message.setWrapperField(this, 2, value); +}; + + +/** + * Clears the message field making it undefined. + * @return {!proto.StreamInstanceHistoryRequest} returns this + */ +proto.StreamInstanceHistoryRequest.prototype.clearExecutionid = function() { + return this.setExecutionid(undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.StreamInstanceHistoryRequest.prototype.hasExecutionid = function() { + return jspb.Message.getField(this, 2) != null; +}; + + +/** + * optional bool forWorkItemProcessing = 3; + * @return {boolean} + */ +proto.StreamInstanceHistoryRequest.prototype.getForworkitemprocessing = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.StreamInstanceHistoryRequest} returns this + */ +proto.StreamInstanceHistoryRequest.prototype.setForworkitemprocessing = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.HistoryChunk.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.HistoryChunk.prototype.toObject = function(opt_includeInstance) { + return proto.HistoryChunk.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.HistoryChunk} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.HistoryChunk.toObject = function(includeInstance, msg) { + var f, obj = { + eventsList: jspb.Message.toObjectList(msg.getEventsList(), + proto.HistoryEvent.toObject, includeInstance) + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.HistoryChunk} + */ +proto.HistoryChunk.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.HistoryChunk; + return proto.HistoryChunk.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.HistoryChunk} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.HistoryChunk} + */ +proto.HistoryChunk.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = new proto.HistoryEvent; + reader.readMessage(value,proto.HistoryEvent.deserializeBinaryFromReader); + msg.addEvents(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.HistoryChunk.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.HistoryChunk.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.HistoryChunk} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.HistoryChunk.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getEventsList(); + if (f.length > 0) { + writer.writeRepeatedMessage( + 1, + f, + proto.HistoryEvent.serializeBinaryToWriter + ); + } +}; + + +/** + * repeated HistoryEvent events = 1; + * @return {!Array} + */ +proto.HistoryChunk.prototype.getEventsList = function() { + return /** @type{!Array} */ ( + jspb.Message.getRepeatedWrapperField(this, proto.HistoryEvent, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.HistoryChunk} returns this +*/ +proto.HistoryChunk.prototype.setEventsList = function(value) { + return jspb.Message.setRepeatedWrapperField(this, 1, value); +}; + + +/** + * @param {!proto.HistoryEvent=} opt_value + * @param {number=} opt_index + * @return {!proto.HistoryEvent} + */ +proto.HistoryChunk.prototype.addEvents = function(opt_value, opt_index) { + return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.HistoryEvent, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.HistoryChunk} returns this + */ +proto.HistoryChunk.prototype.clearEventsList = function() { + return this.setEventsList([]); +}; + + + +/** + * List of repeated fields within this message type. + * @private {!Array} + * @const + */ +proto.InstanceBatch.repeatedFields_ = [1]; + + + +if (jspb.Message.GENERATE_TO_OBJECT) { +/** + * Creates an object representation of this proto. + * Field names that are reserved in JavaScript and will be renamed to pb_name. + * Optional fields that are not set will be set to undefined. + * To access a reserved field use, foo.pb_, eg, foo.pb_default. + * For the list of reserved names please see: + * net/proto2/compiler/js/internal/generator.cc#kKeyword. + * @param {boolean=} opt_includeInstance Deprecated. whether to include the + * JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @return {!Object} + */ +proto.InstanceBatch.prototype.toObject = function(opt_includeInstance) { + return proto.InstanceBatch.toObject(opt_includeInstance, this); +}; + + +/** + * Static version of the {@see toObject} method. + * @param {boolean|undefined} includeInstance Deprecated. Whether to include + * the JSPB instance for transitional soy proto support: + * http://goto/soy-param-migration + * @param {!proto.InstanceBatch} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.InstanceBatch.toObject = function(includeInstance, msg) { + var f, obj = { + instanceidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.InstanceBatch} + */ +proto.InstanceBatch.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.InstanceBatch; + return proto.InstanceBatch.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.InstanceBatch} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.InstanceBatch} + */ +proto.InstanceBatch.deserializeBinaryFromReader = function(msg, reader) { + while (reader.nextField()) { + if (reader.isEndGroup()) { + break; + } + var field = reader.getFieldNumber(); + switch (field) { + case 1: + var value = /** @type {string} */ (reader.readString()); + msg.addInstanceids(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.InstanceBatch.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.InstanceBatch.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.InstanceBatch} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.InstanceBatch.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = message.getInstanceidsList(); + if (f.length > 0) { + writer.writeRepeatedString( + 1, + f + ); + } +}; + + +/** + * repeated string instanceIds = 1; + * @return {!Array} + */ +proto.InstanceBatch.prototype.getInstanceidsList = function() { + return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); +}; + + +/** + * @param {!Array} value + * @return {!proto.InstanceBatch} returns this + */ +proto.InstanceBatch.prototype.setInstanceidsList = function(value) { + return jspb.Message.setField(this, 1, value || []); +}; + + +/** + * @param {string} value + * @param {number=} opt_index + * @return {!proto.InstanceBatch} returns this + */ +proto.InstanceBatch.prototype.addInstanceids = function(value, opt_index) { + return jspb.Message.addToRepeatedField(this, 1, value, opt_index); +}; + + +/** + * Clears the list making it empty but non-null. + * @return {!proto.InstanceBatch} returns this + */ +proto.InstanceBatch.prototype.clearInstanceidsList = function() { + return this.setInstanceidsList([]); +}; + + +/** + * @enum {number} + */ +proto.OrchestrationStatus = { + ORCHESTRATION_STATUS_RUNNING: 0, + ORCHESTRATION_STATUS_COMPLETED: 1, + ORCHESTRATION_STATUS_CONTINUED_AS_NEW: 2, + ORCHESTRATION_STATUS_FAILED: 3, + ORCHESTRATION_STATUS_CANCELED: 4, + ORCHESTRATION_STATUS_TERMINATED: 5, + ORCHESTRATION_STATUS_PENDING: 6, + ORCHESTRATION_STATUS_SUSPENDED: 7 +}; + +/** + * @enum {number} + */ +proto.WorkerCapability = { + WORKER_CAPABILITY_UNSPECIFIED: 0, + WORKER_CAPABILITY_HISTORY_STREAMING: 1, + WORKER_CAPABILITY_SCHEDULED_TASKS: 2, + WORKER_CAPABILITY_LARGE_PAYLOADS: 3 +}; + +goog.object.extend(exports, proto); diff --git a/src/task/completable-task.ts b/packages/durabletask-js/src/task/completable-task.ts similarity index 100% rename from src/task/completable-task.ts rename to packages/durabletask-js/src/task/completable-task.ts diff --git a/src/task/composite-task.ts b/packages/durabletask-js/src/task/composite-task.ts similarity index 100% rename from src/task/composite-task.ts rename to packages/durabletask-js/src/task/composite-task.ts diff --git a/src/task/context/activity-context.ts b/packages/durabletask-js/src/task/context/activity-context.ts similarity index 100% rename from src/task/context/activity-context.ts rename to packages/durabletask-js/src/task/context/activity-context.ts diff --git a/src/task/context/orchestration-context.ts b/packages/durabletask-js/src/task/context/orchestration-context.ts similarity index 100% rename from src/task/context/orchestration-context.ts rename to packages/durabletask-js/src/task/context/orchestration-context.ts diff --git a/src/task/exception/non-determinism-error.ts b/packages/durabletask-js/src/task/exception/non-determinism-error.ts similarity index 100% rename from src/task/exception/non-determinism-error.ts rename to packages/durabletask-js/src/task/exception/non-determinism-error.ts diff --git a/src/task/exception/orchestration-state-error.ts b/packages/durabletask-js/src/task/exception/orchestration-state-error.ts similarity index 100% rename from src/task/exception/orchestration-state-error.ts rename to packages/durabletask-js/src/task/exception/orchestration-state-error.ts diff --git a/src/task/exception/task-failed-error.ts b/packages/durabletask-js/src/task/exception/task-failed-error.ts similarity index 100% rename from src/task/exception/task-failed-error.ts rename to packages/durabletask-js/src/task/exception/task-failed-error.ts diff --git a/src/task/failure-details.ts b/packages/durabletask-js/src/task/failure-details.ts similarity index 100% rename from src/task/failure-details.ts rename to packages/durabletask-js/src/task/failure-details.ts diff --git a/src/task/index.ts b/packages/durabletask-js/src/task/index.ts similarity index 100% rename from src/task/index.ts rename to packages/durabletask-js/src/task/index.ts diff --git a/src/task/task.ts b/packages/durabletask-js/src/task/task.ts similarity index 100% rename from src/task/task.ts rename to packages/durabletask-js/src/task/task.ts diff --git a/src/task/when-all-task.ts b/packages/durabletask-js/src/task/when-all-task.ts similarity index 100% rename from src/task/when-all-task.ts rename to packages/durabletask-js/src/task/when-all-task.ts diff --git a/src/task/when-any-task.ts b/packages/durabletask-js/src/task/when-any-task.ts similarity index 100% rename from src/task/when-any-task.ts rename to packages/durabletask-js/src/task/when-any-task.ts diff --git a/src/types/activity.type.ts b/packages/durabletask-js/src/types/activity.type.ts similarity index 100% rename from src/types/activity.type.ts rename to packages/durabletask-js/src/types/activity.type.ts diff --git a/src/types/input.type.ts b/packages/durabletask-js/src/types/input.type.ts similarity index 100% rename from src/types/input.type.ts rename to packages/durabletask-js/src/types/input.type.ts diff --git a/src/types/orchestrator.type.ts b/packages/durabletask-js/src/types/orchestrator.type.ts similarity index 100% rename from src/types/orchestrator.type.ts rename to packages/durabletask-js/src/types/orchestrator.type.ts diff --git a/src/types/output.type.ts b/packages/durabletask-js/src/types/output.type.ts similarity index 100% rename from src/types/output.type.ts rename to packages/durabletask-js/src/types/output.type.ts diff --git a/src/utils/enum.util.ts b/packages/durabletask-js/src/utils/enum.util.ts similarity index 100% rename from src/utils/enum.util.ts rename to packages/durabletask-js/src/utils/enum.util.ts diff --git a/src/utils/pb-helper.util.ts b/packages/durabletask-js/src/utils/pb-helper.util.ts similarity index 100% rename from src/utils/pb-helper.util.ts rename to packages/durabletask-js/src/utils/pb-helper.util.ts diff --git a/src/utils/promise.util.ts b/packages/durabletask-js/src/utils/promise.util.ts similarity index 100% rename from src/utils/promise.util.ts rename to packages/durabletask-js/src/utils/promise.util.ts diff --git a/src/worker/activity-executor.ts b/packages/durabletask-js/src/worker/activity-executor.ts similarity index 100% rename from src/worker/activity-executor.ts rename to packages/durabletask-js/src/worker/activity-executor.ts diff --git a/src/worker/exception/activity-not-registered-error.ts b/packages/durabletask-js/src/worker/exception/activity-not-registered-error.ts similarity index 100% rename from src/worker/exception/activity-not-registered-error.ts rename to packages/durabletask-js/src/worker/exception/activity-not-registered-error.ts diff --git a/src/worker/exception/orchestrator-not-registered-error.ts b/packages/durabletask-js/src/worker/exception/orchestrator-not-registered-error.ts similarity index 100% rename from src/worker/exception/orchestrator-not-registered-error.ts rename to packages/durabletask-js/src/worker/exception/orchestrator-not-registered-error.ts diff --git a/src/worker/exception/stop-iteration-error.ts b/packages/durabletask-js/src/worker/exception/stop-iteration-error.ts similarity index 100% rename from src/worker/exception/stop-iteration-error.ts rename to packages/durabletask-js/src/worker/exception/stop-iteration-error.ts diff --git a/src/worker/index.ts b/packages/durabletask-js/src/worker/index.ts similarity index 100% rename from src/worker/index.ts rename to packages/durabletask-js/src/worker/index.ts diff --git a/src/worker/orchestration-executor.ts b/packages/durabletask-js/src/worker/orchestration-executor.ts similarity index 100% rename from src/worker/orchestration-executor.ts rename to packages/durabletask-js/src/worker/orchestration-executor.ts diff --git a/src/worker/registry.ts b/packages/durabletask-js/src/worker/registry.ts similarity index 100% rename from src/worker/registry.ts rename to packages/durabletask-js/src/worker/registry.ts diff --git a/src/worker/runtime-orchestration-context.ts b/packages/durabletask-js/src/worker/runtime-orchestration-context.ts similarity index 100% rename from src/worker/runtime-orchestration-context.ts rename to packages/durabletask-js/src/worker/runtime-orchestration-context.ts diff --git a/packages/durabletask-js/src/worker/task-hub-grpc-worker.ts b/packages/durabletask-js/src/worker/task-hub-grpc-worker.ts new file mode 100644 index 0000000..274a6db --- /dev/null +++ b/packages/durabletask-js/src/worker/task-hub-grpc-worker.ts @@ -0,0 +1,337 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import * as pb from "../proto/orchestrator_service_pb"; +import * as stubs from "../proto/orchestrator_service_grpc_pb"; +import * as grpc from "@grpc/grpc-js"; +import { Registry } from "./registry"; +import { TActivity } from "../types/activity.type"; +import { TInput } from "../types/input.type"; +import { TOrchestrator } from "../types/orchestrator.type"; +import { TOutput } from "../types/output.type"; +import { GrpcClient } from "../client/client-grpc"; +import { promisify } from "util"; +import { Empty } from "google-protobuf/google/protobuf/empty_pb"; +import * as pbh from "../utils/pb-helper.util"; +import { OrchestrationExecutor } from "./orchestration-executor"; +import { ActivityExecutor } from "./activity-executor"; +import { StringValue } from "google-protobuf/google/protobuf/wrappers_pb"; + +export class TaskHubGrpcWorker { + private _responseStream: grpc.ClientReadableStream | null; + private _registry: Registry; + private _hostAddress?: string; + private _tls?: boolean; + private _grpcChannelOptions?: grpc.ChannelOptions; + private _grpcChannelCredentials?: grpc.ChannelCredentials; + private _isRunning: boolean; + private _stopWorker: boolean; + private _stub: stubs.TaskHubSidecarServiceClient | null; + + /** + * Creates a new TaskHubGrpcWorker instance. + * + * @param hostAddress The host address to connect to. Defaults to "localhost:4001". + * @param options gRPC channel options. + * @param useTLS Whether to use TLS. Defaults to false. + * @param credentials Optional pre-configured channel credentials. If provided, useTLS is ignored. + */ + constructor( + hostAddress?: string, + options?: grpc.ChannelOptions, + useTLS?: boolean, + credentials?: grpc.ChannelCredentials, + ) { + this._registry = new Registry(); + this._hostAddress = hostAddress; + this._tls = useTLS; + this._grpcChannelOptions = options; + this._grpcChannelCredentials = credentials; + this._responseStream = null; + this._isRunning = false; + this._stopWorker = false; + this._stub = null; + } + + /** + * Registers an orchestrator function with the worker. + * + * @param fn + * @returns + */ + addOrchestrator(fn: TOrchestrator): string { + if (this._isRunning) { + throw new Error("Cannot add orchestrator while worker is running."); + } + + return this._registry.addOrchestrator(fn); + } + + /** + * Registers an named orchestrator function with the worker. + * + * @param fn + * @returns + */ + addNamedOrchestrator(name: string, fn: TOrchestrator): string { + if (this._isRunning) { + throw new Error("Cannot add orchestrator while worker is running."); + } + + this._registry.addNamedOrchestrator(name, fn); + return name; + } + + /** + * Registers an activity function with the worker. + * + * @param fn + * @returns + */ + addActivity(fn: TActivity): string { + if (this._isRunning) { + throw new Error("Cannot add activity while worker is running."); + } + + return this._registry.addActivity(fn); + } + + /** + * Registers an named activity function with the worker. + * + * @param fn + * @returns + */ + addNamedActivity(name: string, fn: TActivity): string { + if (this._isRunning) { + throw new Error("Cannot add activity while worker is running."); + } + + this._registry.addNamedActivity(name, fn); + return name; + } + + /** + * In node.js we don't require a new thread as we have a main event loop + * Therefore, we open the stream and simply listen through the eventemitter behind the scenes + */ + async start(): Promise { + if (this._isRunning) { + throw new Error("The worker is already running."); + } + + const client = new GrpcClient(this._hostAddress, this._grpcChannelOptions, this._tls, this._grpcChannelCredentials); + this._stub = client.stub; + + // do not await so it runs in the background + this.internalRunWorker(client); + + this._isRunning = true; + } + + async internalRunWorker(client: GrpcClient, isRetry: boolean = false): Promise { + try { + // send a "Hello" message to the sidecar to ensure that it's listening + const prom = promisify(client.stub.hello.bind(client.stub)); + await prom(new Empty()); + + // Stream work items from the sidecar + const stream = client.stub.getWorkItems(new pb.GetWorkItemsRequest()); + this._responseStream = stream; + + console.log(`Successfully connected to ${this._hostAddress}. Waiting for work items...`); + + // Wait for a work item to be received + stream.on("data", (workItem: pb.WorkItem) => { + const completionToken = workItem.getCompletiontoken(); + if (workItem.hasOrchestratorrequest()) { + console.log( + `Received "Orchestrator Request" work item with instance id '${workItem + ?.getOrchestratorrequest() + ?.getInstanceid()}'`, + ); + this._executeOrchestrator(workItem.getOrchestratorrequest() as any, completionToken, client.stub); + } else if (workItem.hasActivityrequest()) { + console.log(`Received "Activity Request" work item`); + this._executeActivity(workItem.getActivityrequest() as any, completionToken, client.stub); + } else if (workItem.hasHealthping()) { + // Health ping - no-op, just a keep-alive message from the server + } else { + console.log(`Received unknown type of work item `); + } + }); + + // Wait for the stream to end or error + stream.on("end", async () => { + stream.cancel(); + stream.destroy(); + if (this._stopWorker) { + console.log("Stream ended"); + return; + } + console.log("Stream abruptly closed, will retry the connection..."); + // TODO consider exponential backoff + await sleep(5000); + // do not await + this.internalRunWorker(client, true); + }); + + stream.on("error", (err: Error) => { + // Ignore cancellation errors when the worker is being stopped intentionally + if (this._stopWorker) { + return; + } + console.log("Stream error", err); + }); + } catch (err) { + if (this._stopWorker) { + // ignoring the error because the worker has been stopped + return; + } + console.log(`Error on grpc stream: ${err}`); + if (!isRetry) { + throw err; + } + console.log("Connection will be retried..."); + // TODO consider exponential backoff + await sleep(5000); + this.internalRunWorker(client, true); + return; + } + } + + /** + * Stop the worker and wait for any pending work items to complete + */ + async stop(): Promise { + if (!this._isRunning) { + throw new Error("The worker is not running."); + } + + this._stopWorker = true; + + this._responseStream?.cancel(); + this._responseStream?.destroy(); + + this._stub?.close(); + + this._isRunning = false; + + // Wait a bit to let the async operations finish + // https://github.com/grpc/grpc-node/issues/1563#issuecomment-829483711 + await sleep(1000); + } + + /** + * + */ + private async _executeOrchestrator( + req: pb.OrchestratorRequest, + completionToken: string, + stub: stubs.TaskHubSidecarServiceClient, + ): Promise { + const instanceId = req.getInstanceid(); + + if (!instanceId) { + throw new Error(`Could not execute the orchestrator as the instanceId was not provided (${instanceId})`); + } + + let res; + + try { + const executor = new OrchestrationExecutor(this._registry); + const actions = await executor.execute(req.getInstanceid(), req.getPasteventsList(), req.getNeweventsList()); + + res = new pb.OrchestratorResponse(); + res.setInstanceid(req.getInstanceid()); + res.setCompletiontoken(completionToken); + res.setActionsList(actions); + } catch (e: any) { + console.error(e); + console.log(`An error occurred while trying to execute instance '${req.getInstanceid()}': ${e.message}`); + + const failureDetails = pbh.newFailureDetails(e); + + const actions = [ + pbh.newCompleteOrchestrationAction( + -1, + pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED, + failureDetails?.toString(), + ), + ]; + + res = new pb.OrchestratorResponse(); + res.setInstanceid(req.getInstanceid()); + res.setCompletiontoken(completionToken); + res.setActionsList(actions); + } + + try { + const stubCompleteOrchestratorTask = promisify(stub.completeOrchestratorTask.bind(stub)); + await stubCompleteOrchestratorTask(res); + } catch (e: any) { + console.error(`An error occurred while trying to complete instance '${req.getInstanceid()}': ${e?.message}`); + } + } + + /** + * + */ + private async _executeActivity( + req: pb.ActivityRequest, + completionToken: string, + stub: stubs.TaskHubSidecarServiceClient, + ): Promise { + const instanceId = req.getOrchestrationinstance()?.getInstanceid(); + + if (!instanceId) { + throw new Error("Activity request does not contain an orchestration instance id"); + } + + let res; + + try { + const executor = new ActivityExecutor(this._registry); + const result = await executor.execute( + instanceId, + req.getName(), + req.getTaskid(), + req.getInput()?.toString() ?? "", + ); + + const s = new StringValue(); + s.setValue(result?.toString() ?? ""); + + res = new pb.ActivityResponse(); + res.setInstanceid(instanceId); + res.setTaskid(req.getTaskid()); + res.setCompletiontoken(completionToken); + res.setResult(s); + } catch (e: any) { + console.error(e); + console.log(`An error occurred while trying to execute activity '${req.getName()}': ${e.message}`); + + const failureDetails = pbh.newFailureDetails(e); + + res = new pb.ActivityResponse(); + res.setTaskid(req.getTaskid()); + res.setCompletiontoken(completionToken); + res.setFailuredetails(failureDetails); + } + + try { + const stubCompleteActivityTask = promisify(stub.completeActivityTask.bind(stub)); + await stubCompleteActivityTask(res); + } catch (e: any) { + console.error( + `Failed to deliver activity response for '${req.getName()}#${req.getTaskid()}' of orchestration ID '${instanceId}' to sidecar: ${ + e?.message + }`, + ); + } + } +} + +function sleep(ms: number): Promise { + return new Promise((resolve) => setTimeout(resolve, ms)); +} diff --git a/test/unit/activity_executor.spec.ts b/packages/durabletask-js/test/activity_executor.spec.ts similarity index 83% rename from test/unit/activity_executor.spec.ts rename to packages/durabletask-js/test/activity_executor.spec.ts index 7207e27..3e9c400 100644 --- a/test/unit/activity_executor.spec.ts +++ b/packages/durabletask-js/test/activity_executor.spec.ts @@ -1,62 +1,62 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -import { ActivityContext } from "../../src/task/context/activity-context"; -import { TActivity } from "../../src/types/activity.type"; -import { ActivityExecutor } from "../../src/worker/activity-executor"; -import { ActivityNotRegisteredError } from "../../src/worker/exception/activity-not-registered-error"; -import { Registry } from "../../src/worker/registry"; - -// const TEST_LOGGER = shared.get_logger(); -const TEST_INSTANCE_ID = "abc123"; -const TEST_TASK_ID = 42; - -describe("Activity Executor", () => { - it("should validates activity function input population", async () => { - const testActivity = (ctx: ActivityContext, testInput: any) => { - // return all activity inputs back as the output - return [testInput, ctx.orchestrationId, ctx.taskId]; - }; - - const activityInput = "Hello, 世界!"; - const [executor, name] = getActivityExecutor(testActivity); - const result = await executor.execute(TEST_INSTANCE_ID, name, TEST_TASK_ID, JSON.stringify(activityInput)); - expect(result).not.toBeNull(); - - const [resultInput, resultOrchestrationId, resultTaskId] = JSON.parse(result ?? "[]"); - - expect(activityInput).toEqual(resultInput); - expect(TEST_INSTANCE_ID).toEqual(resultOrchestrationId); - expect(TEST_TASK_ID).toEqual(resultTaskId); - }); - - it("It should raise a worker.ActivityNotRegisteredError exception when attempting to execute an unregistered activity", async () => { - const testActivity = (_: ActivityContext) => { - return; - }; - - const [executor, _] = getActivityExecutor(testActivity); - - let caughtException: Error | null = null; - - try { - await executor.execute(TEST_INSTANCE_ID, "Bogus", TEST_TASK_ID, undefined); - } catch (ex: any) { - console.log(ex); - caughtException = ex; - } - - console.log(caughtException); - expect(caughtException?.constructor?.name).toEqual(ActivityNotRegisteredError.name); - expect(caughtException).not.toBeNull(); - expect(caughtException?.message).toMatch(/Bogus/); - }); -}); - -// Activity = Callable[[ActivityContext, TInput], TOutput] -function getActivityExecutor(fn: TActivity): [ActivityExecutor, string] { - const registry = new Registry(); - const name = registry.addActivity(fn); - const executor = new ActivityExecutor(registry); - return [executor, name]; -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { ActivityContext } from "../src/task/context/activity-context"; +import { TActivity } from "../src/types/activity.type"; +import { ActivityExecutor } from "../src/worker/activity-executor"; +import { ActivityNotRegisteredError } from "../src/worker/exception/activity-not-registered-error"; +import { Registry } from "../src/worker/registry"; + +// const TEST_LOGGER = shared.get_logger(); +const TEST_INSTANCE_ID = "abc123"; +const TEST_TASK_ID = 42; + +describe("Activity Executor", () => { + it("should validates activity function input population", async () => { + const testActivity = (ctx: ActivityContext, testInput: any) => { + // return all activity inputs back as the output + return [testInput, ctx.orchestrationId, ctx.taskId]; + }; + + const activityInput = "Hello, 世界!"; + const [executor, name] = getActivityExecutor(testActivity); + const result = await executor.execute(TEST_INSTANCE_ID, name, TEST_TASK_ID, JSON.stringify(activityInput)); + expect(result).not.toBeNull(); + + const [resultInput, resultOrchestrationId, resultTaskId] = JSON.parse(result ?? "[]"); + + expect(activityInput).toEqual(resultInput); + expect(TEST_INSTANCE_ID).toEqual(resultOrchestrationId); + expect(TEST_TASK_ID).toEqual(resultTaskId); + }); + + it("It should raise a worker.ActivityNotRegisteredError exception when attempting to execute an unregistered activity", async () => { + const testActivity = (_: ActivityContext) => { + return; + }; + + const [executor, _] = getActivityExecutor(testActivity); + + let caughtException: Error | null = null; + + try { + await executor.execute(TEST_INSTANCE_ID, "Bogus", TEST_TASK_ID, undefined); + } catch (ex: any) { + console.log(ex); + caughtException = ex; + } + + console.log(caughtException); + expect(caughtException?.constructor?.name).toEqual(ActivityNotRegisteredError.name); + expect(caughtException).not.toBeNull(); + expect(caughtException?.message).toMatch(/Bogus/); + }); +}); + +// Activity = Callable[[ActivityContext, TInput], TOutput] +function getActivityExecutor(fn: TActivity): [ActivityExecutor, string] { + const registry = new Registry(); + const name = registry.addActivity(fn); + const executor = new ActivityExecutor(registry); + return [executor, name]; +} diff --git a/test/unit/orchestration_executor.spec.ts b/packages/durabletask-js/test/orchestration_executor.spec.ts similarity index 96% rename from test/unit/orchestration_executor.spec.ts rename to packages/durabletask-js/test/orchestration_executor.spec.ts index 0a4c2be..1812a65 100644 --- a/test/unit/orchestration_executor.spec.ts +++ b/packages/durabletask-js/test/orchestration_executor.spec.ts @@ -1,811 +1,811 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -import { CompleteOrchestrationAction, OrchestratorAction } from "../../src/proto/orchestrator_service_pb"; -import { OrchestrationContext } from "../../src/task/context/orchestration-context"; -import { - newEventRaisedEvent, - newExecutionStartedEvent, - newOrchestratorStartedEvent, - newResumeEvent, - newSubOrchestrationCompletedEvent, - newSubOrchestrationCreatedEvent, - newSubOrchestrationFailedEvent, - newSuspendEvent, - newTaskCompletedEvent, - newTaskFailedEvent, - newTaskScheduledEvent, - newTerminatedEvent, - newTimerCreatedEvent, - newTimerFiredEvent, -} from "../../src/utils/pb-helper.util"; -import { OrchestrationExecutor } from "../../src/worker/orchestration-executor"; -import * as pb from "../../src/proto/orchestrator_service_pb"; -import { Registry } from "../../src/worker/registry"; -import { TOrchestrator } from "../../src/types/orchestrator.type"; -import { ActivityContext } from "../../src/task/context/activity-context"; -import { CompletableTask } from "../../src/task/completable-task"; -import { Task } from "../../src/task/task"; -import { getName, whenAll, whenAny } from "../../src/task"; - -const TEST_INSTANCE_ID = "abc123"; - -describe("Orchestration Executor", () => { - it("should validate the orchestrator function input population", async () => { - const orchestrator: TOrchestrator = async (ctx: OrchestrationContext, input: any) => { - // return all orchestrator inputs back as the output - return [input, ctx.instanceId, ctx.currentUtcDateTime, ctx.isReplaying]; - }; - - const testInput = 42; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const startTime = new Date(); - const newEvents = [ - newOrchestratorStartedEvent(startTime), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, JSON.stringify(testInput)), - ]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()).not.toBeNull(); - const expectedOutput = [testInput, TEST_INSTANCE_ID, startTime.toISOString(), false]; - expect(completeAction?.getResult()?.getValue()).toEqual(JSON.stringify(expectedOutput)); - }); - - it("should test the actions output for a completed orchestration", async () => { - const emptyOrchestrator: TOrchestrator = async (_: OrchestrationContext) => { - return "done"; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(emptyOrchestrator); - const newEvents = [newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()).not.toBeNull(); - expect(completeAction?.getResult()?.getValue()).toEqual('"done"'); - }); - it("should test the effect of scheduling an unregistered orchestrator", async () => { - const registry = new Registry(); - const name = "Bogus"; - const newEvents = [newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("OrchestratorNotRegisteredError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).not.toBeNull(); - }); - it("should the actions output for the createTimer orchestrator method", async () => { - const delayOrchestrator: TOrchestrator = async function* (ctx: OrchestrationContext) { - const dueTime = new Date(ctx.currentUtcDateTime.getTime() + 1000); - yield ctx.createTimer(dueTime); - return "done"; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(delayOrchestrator); - // Set start time to 2020-01-01 12:00:00 - const startTime = new Date(2020, 0, 1, 12, 0, 0); - const expectedFireAt = new Date(startTime.getTime() + 1000); - const newEvents = [ - newOrchestratorStartedEvent(startTime), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - ]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); - expect(actions).not.toBeNull(); - expect(actions.length).toEqual(1); - expect(actions[0]?.constructor?.name).toEqual(OrchestratorAction.name); - expect(actions[0]?.getId()).toEqual(1); - expect(actions[0]?.getCreatetimer()?.getFireat()?.toDate()).toEqual(expectedFireAt); - }); - it("should test the resumption of a task using a timerFired event", async () => { - const delayOrchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const dueTime = new Date(ctx.currentUtcDateTime.getTime() + 1000); - yield ctx.createTimer(dueTime); - return "done"; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(delayOrchestrator); - // Set start time to 2020-01-01 12:00:00 - const startTime = new Date(2020, 0, 1, 12, 0, 0); - const expectedFireAt = new Date(startTime.getTime() + 1000); - const oldEvents = [ - newOrchestratorStartedEvent(startTime), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - newTimerCreatedEvent(1, expectedFireAt), - ]; - const newEvents = [newTimerFiredEvent(1, expectedFireAt)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()).not.toBeNull(); - expect(completeAction?.getResult()?.getValue()).toEqual('"done"'); - }); - it("should test the actions output for the callActivity orchestrator method", async () => { - const dummyActivity = async (_: ActivityContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any) { - yield ctx.callActivity(dummyActivity); - return "done"; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const newEvents = [newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); - expect(actions).not.toBeNull(); - expect(actions.length).toEqual(1); - expect(actions[0]?.constructor?.name).toEqual(OrchestratorAction.name); - expect(actions[0]?.getId()).toEqual(1); - expect(actions[0]?.getScheduletask()?.getName()).toEqual("dummyActivity"); - }); - it("should test the successful completion of an activity task", async () => { - const dummyActivity = async (_: ActivityContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const result = yield ctx.callActivity(dummyActivity); - return result; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - newTaskScheduledEvent(1, dummyActivity.name), - ]; - const encodedOutput = JSON.stringify("done!"); - const newEvents = [newTaskCompletedEvent(1, encodedOutput)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - console.log(completeAction?.getFailuredetails()); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual(encodedOutput); - }); - it("should test the successful completion of an activity task", async () => { - const dummyActivity = async (_: ActivityContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const result = yield ctx.callActivity(dummyActivity); - return result; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - newTaskScheduledEvent(1, dummyActivity.name), - ]; - const encodedOutput = JSON.stringify("done!"); - const newEvents = [newTaskCompletedEvent(1, encodedOutput)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - console.log(completeAction?.getFailuredetails()); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual(encodedOutput); - }); - it("should test the failure of an activity task", async () => { - const dummyActivity = async (_: ActivityContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, orchestratorInput: any): any { - const result = yield ctx.callActivity(dummyActivity, orchestratorInput); - return result; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - newTaskScheduledEvent(1, getName(dummyActivity)), - ]; - const ex = new Error("Kah-BOOOOM!!!"); - const newEvents = [newTaskFailedEvent(1, ex)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("TaskFailedError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain(ex.message); - // TODO: In javascript this becomes an Anonymous function call (e.g., Object.) - // can we do traceback in it? - // Make sure the line of code where the exception was raised is included in the stack trace - // console.log(completeAction?.getFailuredetails()?.getStacktrace()?.getValue()); - // const userCodeStatement = "ctx.callActivity(dummyActivity, orchestratorInput)"; - // expect(completeAction?.getFailuredetails()?.getStacktrace()?.getValue()).toContain(userCodeStatement); - }); - it("should test the non-determinism detection logic when callTimer is expected but some other method (callActivity) is called instead", async () => { - const dummyActivity = async (_: ActivityContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const result = yield ctx.callActivity(dummyActivity); - return result; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const fireAt = new Date(); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - newTimerCreatedEvent(1, fireAt), - ]; - const newEvents = [newTimerFiredEvent(1, fireAt)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("createTimer"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callActivity"); - }); - it("should test the non-determinism detection logic when invoking activity functions", async () => { - const orchestrator: TOrchestrator = async function* (_: OrchestrationContext): any { - const result = yield new CompletableTask(); // dummy task - return result; - }; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - newTaskScheduledEvent(1, "bogusActivity"), - ]; - const newEvents = [newTaskCompletedEvent(1, "done!")]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callActivity"); - }); - it("should test the non-determinism detection when an activity exists in the history but a non-activity is in the code", async () => { - const dummyActivity = async (_: ActivityContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - // Create a timer when the history expects an activity call - yield ctx.createTimer(new Date()); - }; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - newTaskScheduledEvent(1, getName(dummyActivity)), - ]; - const newEvents = [newTaskCompletedEvent(1)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callActivity"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("createTimer"); - }); - it("should test the non-determinism detection when calling an activity with a name that differs from the name in the history", async () => { - const dummyActivity = async (_: ActivityContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - // Create a timer when the history expects an activity call - yield ctx.callActivity(dummyActivity); - }; - const registry = new Registry(); - const name = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), - newTaskScheduledEvent(1, "originalActivity"), - ]; - const newEvents = [newTaskCompletedEvent(1)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callActivity"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("originalActivity"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("dummyActivity"); - }); - it("should test that a sub-orchestration task is completed when the sub-orchestration completes", async () => { - const subOrchestrator = async (_: OrchestrationContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const res = yield ctx.callSubOrchestrator(subOrchestrator); - return res; - }; - const registry = new Registry(); - const subOrchestratorName = registry.addOrchestrator(subOrchestrator); - const orchestratorName = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, undefined), - newSubOrchestrationCreatedEvent(1, subOrchestratorName, "sub-orch-123"), - ]; - const newEvents = [newSubOrchestrationCompletedEvent(1, "42")]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual("42"); - }); - it("should test that a sub-orchestration task is completed when the sub-orchestration fails", async () => { - const subOrchestrator = async (_: OrchestrationContext) => { - // do nothing - }; - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const res = yield ctx.callSubOrchestrator(subOrchestrator); - return res; - }; - const registry = new Registry(); - const subOrchestratorName = registry.addOrchestrator(subOrchestrator); - const orchestratorName = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, undefined), - newSubOrchestrationCreatedEvent(1, subOrchestratorName, "sub-orch-123"), - ]; - const ex = new Error("Kah-BOOOOM!!!"); - const newEvents = [newSubOrchestrationFailedEvent(1, ex)]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("TaskFailedError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain(ex.message); - // TODO - // // Make sure the line of code where the exception was raised is included in the stack trace - // user_code_statement = "ctx.call_sub_orchestrator(suborchestrator)" - // assert user_code_statement in complete_action.failureDetails.stackTrace.value - }); - it("should test the non-determinism detection when a sub-orchestration action is encountered when it shouldn't be-subOrchestrator", async () => { - const orchestrator: TOrchestrator = async (_: OrchestrationContext) => { - const res = new CompletableTask(); // dummy task - return res; - }; - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, undefined), - newSubOrchestrationCreatedEvent(1, "some_sub_orchestration", "sub-orch-123"), - ]; - const newEvents = [newSubOrchestrationCompletedEvent(1, "42")]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callSubOrchestrator"); - // TODO - // // Make sure the line of code where the exception was raised is included in the stack trace - // user_code_statement = "ctx.call_sub_orchestrator(suborchestrator)" - // assert user_code_statement in complete_action.failureDetails.stackTrace.value - }); - /** - * It should test the non-determinism detection when a sub-orchestration action is encounteed when it shouldn't be. - * This variation tests the case where the expected task type is wrong (e.g. the code schedules a timer task - * but the history contains a sub-orchestration completed task) - */ - it("should test the non-determinism detection when a sub-orchestration action is encountered when it shouldn't be-timer", async () => { - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const res = yield ctx.createTimer(new Date()); // Created timer but history expects sub-orchestration - return res; - }; - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, undefined), - newSubOrchestrationCreatedEvent(1, "some_sub_orchestration", "sub-orch-123"), - ]; - const newEvents = [newSubOrchestrationCompletedEvent(1, "42")]; - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callSubOrchestrator"); - // TODO - // // Make sure the line of code where the exception was raised is included in the stack trace - // user_code_statement = "ctx.call_sub_orchestrator(suborchestrator)" - // assert user_code_statement in complete_action.failureDetails.stackTrace.value - }); - - it("should test that an orchestration can wait for and process an external event sent by a client", async () => { - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const res = yield ctx.waitForExternalEvent("my_event"); - return res; - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - - let oldEvents: any[] = []; - let newEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; - - // Execute the orchestration until it is waiting for an external event. - // The result should be an empty list of actions because the orchestration didn't schedule any work - let executor = new OrchestrationExecutor(registry); - let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - expect(actions.length).toBe(0); - - // Now send an external event to the orchestration and execute it again. - // This time the orcehstration should complete - oldEvents = newEvents; - newEvents = [newEventRaisedEvent("my_event", "42")]; - executor = new OrchestrationExecutor(registry); - actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual("42"); - }); - - it("should test that an orchestration can receive an event that arrives earlier than expected", async () => { - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - yield ctx.createTimer(new Date(ctx.currentUtcDateTime.getTime() + 24 * 60 * 60 * 1000)); - const res = yield ctx.waitForExternalEvent("my_event"); - return res; - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - - let oldEvents: any[] = []; - let newEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID), - newEventRaisedEvent("my_event", "42"), - ]; - - // Execute the orchestration - // It should be in a running state waiting for the timer to fire - let executor = new OrchestrationExecutor(registry); - let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - expect(actions.length).toBe(1); - expect(actions[0].hasCreatetimer()).toBeTruthy(); - - // Complete the timer task - // The orchestration should move to the waitForExternalEvent step now which should - // then complete immediately because the event was buffered in the old event history - const timerDueTime = new Date(Date.now() + 1 * 24 * 60 * 60 * 1000); - newEvents.push(newTimerCreatedEvent(1, timerDueTime)); - oldEvents = newEvents; - newEvents = [newTimerFiredEvent(1, timerDueTime)]; - executor = new OrchestrationExecutor(registry); - actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual("42"); - }); - - it("should test that an orchestration can be suspended and resumed", async () => { - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const res = yield ctx.waitForExternalEvent("my_event"); - return res; - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - - const oldEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; - - let newEvents = [newSuspendEvent(), newEventRaisedEvent("my_event", "42")]; - - // Execute the orchestration - // It should be in a running state because it was suspended prior - // to the processing the event raised event - let executor = new OrchestrationExecutor(registry); - let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - expect(actions.length).toBe(0); - - // Resume the orchestration, it should complete successfully - oldEvents.push(...newEvents); - newEvents = [newResumeEvent()]; - executor = new OrchestrationExecutor(registry); - actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual("42"); - }); - - it("should test that an orchestration can be terminated before it completes", async () => { - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { - const res = yield ctx.waitForExternalEvent("my_event"); - return res; - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - - const oldEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; - - const newEvents = [newTerminatedEvent(JSON.stringify("terminated!")), newEventRaisedEvent("my_event", "42")]; - - // Execute the orchestration - // It should be in a running state waiting for an external event - let executor = new OrchestrationExecutor(registry); - let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - executor = new OrchestrationExecutor(registry); - actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_TERMINATED); - expect(completeAction?.getResult()?.getValue()).toEqual(JSON.stringify("terminated!")); - }); - - it("should be able to continue-as-new", async () => { - for (const saveEvent of [true, false]) { - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, input: number): any { - yield ctx.createTimer(new Date(ctx.currentUtcDateTime.getTime() + 1 * 24 * 60 * 60 * 1000)); - ctx.continueAsNew(input + 1, saveEvent); - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - - const oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, "1"), - newEventRaisedEvent("my_event", "42"), - newEventRaisedEvent("my_event", "43"), - newEventRaisedEvent("my_event", "44"), - newTimerCreatedEvent(1, new Date(Date.now() + 1 * 24 * 60 * 60 * 1000)), - ]; - - const newEvents = [newTimerFiredEvent(1, new Date(Date.now() + 1 * 24 * 60 * 60 * 1000))]; - - // Execute the orchestration, it should be in a running state waiting for the timer to fire - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual( - pb.OrchestrationStatus.ORCHESTRATION_STATUS_CONTINUED_AS_NEW, - ); - expect(completeAction?.getResult()?.getValue()).toEqual(JSON.stringify(2)); - expect(completeAction?.getCarryovereventsList()?.length).toEqual(saveEvent ? 3 : 0); - - for (let i = 0; i < (completeAction?.getCarryovereventsList()?.length ?? 0); i++) { - const event = completeAction?.getCarryovereventsList()[i]; - - // TODO: Should we check this with Typescript? As class typings are harder to detect - // expect(typeof event).toEqual(pb.HistoryEvent); - - expect(event?.hasEventraised()); - expect(event?.getEventraised()?.getName()?.toLocaleLowerCase()).toEqual("my_event"); - expect(event?.getEventraised()?.getInput()?.getValue()).toEqual(JSON.stringify(42 + i)); - } - } - }); - - it("should test that a fan-out pattern correctly schedules N tasks", async () => { - const hello = async (_: any, name: string) => { - return `Hello ${name}`; - }; - - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, count: number): any { - const tasks: Task[] = []; - - for (let i = 0; i < count; i++) { - tasks.push(ctx.callActivity(hello, i.toString())); - } - - const results = yield whenAll(tasks); - return results; - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - const activityName = registry.addActivity(hello); - - const oldEvents: any[] = []; - const newEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, "10"), - ]; - - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - // The result should be 10 "taskScheduled" actions with inputs from 0 to 9 - expect(actions.length).toEqual(10); - - for (let i = 0; i < 10; i++) { - expect(actions[i].hasScheduletask()); - expect(actions[i].getScheduletask()?.getName()).toEqual(activityName); - expect(actions[i].getScheduletask()?.getInput()?.getValue()).toEqual(`"${i}"`); - } - }); - - it("should test that a fan-in pattern works correctly", async () => { - const printInt = (_: any, value: number) => { - return value.toString(); - }; - - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { - const tasks: Task[] = []; - - for (let i = 0; i < 10; i++) { - tasks.push(ctx.callActivity(printInt, i)); - } - - const results = yield whenAll(tasks); - return results; - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - const activityName = registry.addActivity(printInt); - - const oldEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; - - for (let i = 0; i < 10; i++) { - oldEvents.push(newTaskScheduledEvent(i + 1, activityName, i.toString())); - } - - const newEvents: any[] = []; - - for (let i = 0; i < 10; i++) { - newEvents.push(newTaskCompletedEvent(i + 1, printInt(null, i))); - } - - // First, test with only the first 5 events - // we expect the orchestrator to be running - // it should however return 0 actions, since it is still waiting for the other 5 tasks to complete - let executor = new OrchestrationExecutor(registry); - let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents.slice(0, 4)); - expect(actions.length).toBe(0); - - // Now test with the full set of new events - // we expect the orchestration to complete - executor = new OrchestrationExecutor(registry); - actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual("[0,1,2,3,4,5,6,7,8,9]"); - }); - - it("should test that a fan-in works correctly when one of the tasks fails", async () => { - const printInt = (_: any, value: number) => { - return value.toString(); - }; - - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { - const tasks: Task[] = []; - - for (let i = 0; i < 10; i++) { - tasks.push(ctx.callActivity(printInt, i)); - } - - const results = yield whenAll(tasks); - return results; - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - const activityName = registry.addActivity(printInt); - - const oldEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; - - for (let i = 0; i < 10; i++) { - oldEvents.push(newTaskScheduledEvent(i + 1, activityName, i.toString())); - } - - // Chaos test with 5 tasks completing successfully, 1 failing and 4 still running - // we exect that the orchestration fails immediately now and does not wait for the 4 that are running - const newEvents: any[] = []; - - for (let i = 0; i < 5; i++) { - newEvents.push(newTaskCompletedEvent(i + 1, printInt(null, i))); - } - - const ex = new Error("Kah-BOOOOM!!!"); - newEvents.push(newTaskFailedEvent(6, ex)); - - // Now test with the full set of new events - // We expect the orchestration to complete - const executor = new OrchestrationExecutor(registry); - const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); - expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("TaskFailedError"); - expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain(ex.message); - }); - - it("should test that a whenAny pattern works correctly", async () => { - const hello = (_: any, name: string) => { - return `Hello ${name}!`; - }; - - const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { - const t1 = ctx.callActivity(hello, "Tokyo"); - const t2 = ctx.callActivity(hello, "Seattle"); - - const winner = yield whenAny([t1, t2]); - - if (winner == t1) { - return t1.getResult(); - } else { - return t2.getResult(); - } - }; - - const registry = new Registry(); - const orchestratorName = registry.addOrchestrator(orchestrator); - const activityName = registry.addActivity(hello); - - // Test 1: Start the orchestration and let it yield on the whenAny - // this should return 2 actions: a Tokyo Task Schedule and a Seattle Task Schedule - let oldEvents: any[] = []; - let newEvents = [newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; - let executor = new OrchestrationExecutor(registry); - let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - - expect(actions.length).toEqual(2); - expect(actions[0].hasScheduletask()).toBeTruthy(); - expect(actions[1].hasScheduletask()).toBeTruthy(); - - // The next tests assume that the orchestration has already await at the task.whenAny - oldEvents = [ - newOrchestratorStartedEvent(), - newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID), - newTaskScheduledEvent(1, activityName, JSON.stringify("Tokyo")), - newTaskScheduledEvent(2, activityName, JSON.stringify("Seattle")), - ]; - - // Test 2: Complete the "Tokyo" task. - // the orchestration should now complete with "Hello Tokyo!" - let encodedOutput = JSON.stringify(hello(null, "Tokyo")); - newEvents = [newTaskCompletedEvent(1, encodedOutput)]; - executor = new OrchestrationExecutor(registry); - actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - let completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual(encodedOutput); - - // Test 3: Complete the "Seattle" task. - // the orchestration should now complete with "Hello Tokyo!" - encodedOutput = JSON.stringify(hello(null, "Seattle")); - newEvents = [newTaskCompletedEvent(2, encodedOutput)]; - executor = new OrchestrationExecutor(registry); - actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); - completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); - expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); - expect(completeAction?.getResult()?.getValue()).toEqual(encodedOutput); - }); -}); - -function getAndValidateSingleCompleteOrchestrationAction( - actions: OrchestratorAction[], -): CompleteOrchestrationAction | undefined { - expect(actions.length).toEqual(1); - const action = actions[0]; - expect(action?.constructor?.name).toEqual(CompleteOrchestrationAction.name); - - const resCompleteOrchestration = action.getCompleteorchestration(); - expect(resCompleteOrchestration).not.toBeNull(); - return resCompleteOrchestration; -} +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +import { CompleteOrchestrationAction, OrchestratorAction } from "../src/proto/orchestrator_service_pb"; +import { OrchestrationContext } from "../src/task/context/orchestration-context"; +import { + newEventRaisedEvent, + newExecutionStartedEvent, + newOrchestratorStartedEvent, + newResumeEvent, + newSubOrchestrationCompletedEvent, + newSubOrchestrationCreatedEvent, + newSubOrchestrationFailedEvent, + newSuspendEvent, + newTaskCompletedEvent, + newTaskFailedEvent, + newTaskScheduledEvent, + newTerminatedEvent, + newTimerCreatedEvent, + newTimerFiredEvent, +} from "../src/utils/pb-helper.util"; +import { OrchestrationExecutor } from "../src/worker/orchestration-executor"; +import * as pb from "../src/proto/orchestrator_service_pb"; +import { Registry } from "../src/worker/registry"; +import { TOrchestrator } from "../src/types/orchestrator.type"; +import { ActivityContext } from "../src/task/context/activity-context"; +import { CompletableTask } from "../src/task/completable-task"; +import { Task } from "../src/task/task"; +import { getName, whenAll, whenAny } from "../src/task"; + +const TEST_INSTANCE_ID = "abc123"; + +describe("Orchestration Executor", () => { + it("should validate the orchestrator function input population", async () => { + const orchestrator: TOrchestrator = async (ctx: OrchestrationContext, input: any) => { + // return all orchestrator inputs back as the output + return [input, ctx.instanceId, ctx.currentUtcDateTime, ctx.isReplaying]; + }; + + const testInput = 42; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const startTime = new Date(); + const newEvents = [ + newOrchestratorStartedEvent(startTime), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, JSON.stringify(testInput)), + ]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()).not.toBeNull(); + const expectedOutput = [testInput, TEST_INSTANCE_ID, startTime.toISOString(), false]; + expect(completeAction?.getResult()?.getValue()).toEqual(JSON.stringify(expectedOutput)); + }); + + it("should test the actions output for a completed orchestration", async () => { + const emptyOrchestrator: TOrchestrator = async (_: OrchestrationContext) => { + return "done"; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(emptyOrchestrator); + const newEvents = [newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()).not.toBeNull(); + expect(completeAction?.getResult()?.getValue()).toEqual('"done"'); + }); + it("should test the effect of scheduling an unregistered orchestrator", async () => { + const registry = new Registry(); + const name = "Bogus"; + const newEvents = [newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("OrchestratorNotRegisteredError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).not.toBeNull(); + }); + it("should the actions output for the createTimer orchestrator method", async () => { + const delayOrchestrator: TOrchestrator = async function* (ctx: OrchestrationContext) { + const dueTime = new Date(ctx.currentUtcDateTime.getTime() + 1000); + yield ctx.createTimer(dueTime); + return "done"; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(delayOrchestrator); + // Set start time to 2020-01-01 12:00:00 + const startTime = new Date(2020, 0, 1, 12, 0, 0); + const expectedFireAt = new Date(startTime.getTime() + 1000); + const newEvents = [ + newOrchestratorStartedEvent(startTime), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + ]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); + expect(actions).not.toBeNull(); + expect(actions.length).toEqual(1); + expect(actions[0]?.constructor?.name).toEqual(OrchestratorAction.name); + expect(actions[0]?.getId()).toEqual(1); + expect(actions[0]?.getCreatetimer()?.getFireat()?.toDate()).toEqual(expectedFireAt); + }); + it("should test the resumption of a task using a timerFired event", async () => { + const delayOrchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const dueTime = new Date(ctx.currentUtcDateTime.getTime() + 1000); + yield ctx.createTimer(dueTime); + return "done"; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(delayOrchestrator); + // Set start time to 2020-01-01 12:00:00 + const startTime = new Date(2020, 0, 1, 12, 0, 0); + const expectedFireAt = new Date(startTime.getTime() + 1000); + const oldEvents = [ + newOrchestratorStartedEvent(startTime), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + newTimerCreatedEvent(1, expectedFireAt), + ]; + const newEvents = [newTimerFiredEvent(1, expectedFireAt)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()).not.toBeNull(); + expect(completeAction?.getResult()?.getValue()).toEqual('"done"'); + }); + it("should test the actions output for the callActivity orchestrator method", async () => { + const dummyActivity = async (_: ActivityContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any) { + yield ctx.callActivity(dummyActivity); + return "done"; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const newEvents = [newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, [], newEvents); + expect(actions).not.toBeNull(); + expect(actions.length).toEqual(1); + expect(actions[0]?.constructor?.name).toEqual(OrchestratorAction.name); + expect(actions[0]?.getId()).toEqual(1); + expect(actions[0]?.getScheduletask()?.getName()).toEqual("dummyActivity"); + }); + it("should test the successful completion of an activity task", async () => { + const dummyActivity = async (_: ActivityContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const result = yield ctx.callActivity(dummyActivity); + return result; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + newTaskScheduledEvent(1, dummyActivity.name), + ]; + const encodedOutput = JSON.stringify("done!"); + const newEvents = [newTaskCompletedEvent(1, encodedOutput)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + console.log(completeAction?.getFailuredetails()); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual(encodedOutput); + }); + it("should test the successful completion of an activity task", async () => { + const dummyActivity = async (_: ActivityContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const result = yield ctx.callActivity(dummyActivity); + return result; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + newTaskScheduledEvent(1, dummyActivity.name), + ]; + const encodedOutput = JSON.stringify("done!"); + const newEvents = [newTaskCompletedEvent(1, encodedOutput)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + console.log(completeAction?.getFailuredetails()); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual(encodedOutput); + }); + it("should test the failure of an activity task", async () => { + const dummyActivity = async (_: ActivityContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, orchestratorInput: any): any { + const result = yield ctx.callActivity(dummyActivity, orchestratorInput); + return result; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + newTaskScheduledEvent(1, getName(dummyActivity)), + ]; + const ex = new Error("Kah-BOOOOM!!!"); + const newEvents = [newTaskFailedEvent(1, ex)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("TaskFailedError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain(ex.message); + // TODO: In javascript this becomes an Anonymous function call (e.g., Object.) + // can we do traceback in it? + // Make sure the line of code where the exception was raised is included in the stack trace + // console.log(completeAction?.getFailuredetails()?.getStacktrace()?.getValue()); + // const userCodeStatement = "ctx.callActivity(dummyActivity, orchestratorInput)"; + // expect(completeAction?.getFailuredetails()?.getStacktrace()?.getValue()).toContain(userCodeStatement); + }); + it("should test the non-determinism detection logic when callTimer is expected but some other method (callActivity) is called instead", async () => { + const dummyActivity = async (_: ActivityContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const result = yield ctx.callActivity(dummyActivity); + return result; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const fireAt = new Date(); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + newTimerCreatedEvent(1, fireAt), + ]; + const newEvents = [newTimerFiredEvent(1, fireAt)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("createTimer"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callActivity"); + }); + it("should test the non-determinism detection logic when invoking activity functions", async () => { + const orchestrator: TOrchestrator = async function* (_: OrchestrationContext): any { + const result = yield new CompletableTask(); // dummy task + return result; + }; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + newTaskScheduledEvent(1, "bogusActivity"), + ]; + const newEvents = [newTaskCompletedEvent(1, "done!")]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callActivity"); + }); + it("should test the non-determinism detection when an activity exists in the history but a non-activity is in the code", async () => { + const dummyActivity = async (_: ActivityContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + // Create a timer when the history expects an activity call + yield ctx.createTimer(new Date()); + }; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + newTaskScheduledEvent(1, getName(dummyActivity)), + ]; + const newEvents = [newTaskCompletedEvent(1)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callActivity"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("createTimer"); + }); + it("should test the non-determinism detection when calling an activity with a name that differs from the name in the history", async () => { + const dummyActivity = async (_: ActivityContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + // Create a timer when the history expects an activity call + yield ctx.callActivity(dummyActivity); + }; + const registry = new Registry(); + const name = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(name, TEST_INSTANCE_ID, undefined), + newTaskScheduledEvent(1, "originalActivity"), + ]; + const newEvents = [newTaskCompletedEvent(1)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callActivity"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("originalActivity"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("dummyActivity"); + }); + it("should test that a sub-orchestration task is completed when the sub-orchestration completes", async () => { + const subOrchestrator = async (_: OrchestrationContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const res = yield ctx.callSubOrchestrator(subOrchestrator); + return res; + }; + const registry = new Registry(); + const subOrchestratorName = registry.addOrchestrator(subOrchestrator); + const orchestratorName = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, undefined), + newSubOrchestrationCreatedEvent(1, subOrchestratorName, "sub-orch-123"), + ]; + const newEvents = [newSubOrchestrationCompletedEvent(1, "42")]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual("42"); + }); + it("should test that a sub-orchestration task is completed when the sub-orchestration fails", async () => { + const subOrchestrator = async (_: OrchestrationContext) => { + // do nothing + }; + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const res = yield ctx.callSubOrchestrator(subOrchestrator); + return res; + }; + const registry = new Registry(); + const subOrchestratorName = registry.addOrchestrator(subOrchestrator); + const orchestratorName = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, undefined), + newSubOrchestrationCreatedEvent(1, subOrchestratorName, "sub-orch-123"), + ]; + const ex = new Error("Kah-BOOOOM!!!"); + const newEvents = [newSubOrchestrationFailedEvent(1, ex)]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("TaskFailedError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain(ex.message); + // TODO + // // Make sure the line of code where the exception was raised is included in the stack trace + // user_code_statement = "ctx.call_sub_orchestrator(suborchestrator)" + // assert user_code_statement in complete_action.failureDetails.stackTrace.value + }); + it("should test the non-determinism detection when a sub-orchestration action is encountered when it shouldn't be-subOrchestrator", async () => { + const orchestrator: TOrchestrator = async (_: OrchestrationContext) => { + const res = new CompletableTask(); // dummy task + return res; + }; + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, undefined), + newSubOrchestrationCreatedEvent(1, "some_sub_orchestration", "sub-orch-123"), + ]; + const newEvents = [newSubOrchestrationCompletedEvent(1, "42")]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callSubOrchestrator"); + // TODO + // // Make sure the line of code where the exception was raised is included in the stack trace + // user_code_statement = "ctx.call_sub_orchestrator(suborchestrator)" + // assert user_code_statement in complete_action.failureDetails.stackTrace.value + }); + /** + * It should test the non-determinism detection when a sub-orchestration action is encounteed when it shouldn't be. + * This variation tests the case where the expected task type is wrong (e.g. the code schedules a timer task + * but the history contains a sub-orchestration completed task) + */ + it("should test the non-determinism detection when a sub-orchestration action is encountered when it shouldn't be-timer", async () => { + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const res = yield ctx.createTimer(new Date()); // Created timer but history expects sub-orchestration + return res; + }; + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, undefined), + newSubOrchestrationCreatedEvent(1, "some_sub_orchestration", "sub-orch-123"), + ]; + const newEvents = [newSubOrchestrationCompletedEvent(1, "42")]; + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("NonDeterminismError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("1"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain("callSubOrchestrator"); + // TODO + // // Make sure the line of code where the exception was raised is included in the stack trace + // user_code_statement = "ctx.call_sub_orchestrator(suborchestrator)" + // assert user_code_statement in complete_action.failureDetails.stackTrace.value + }); + + it("should test that an orchestration can wait for and process an external event sent by a client", async () => { + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const res = yield ctx.waitForExternalEvent("my_event"); + return res; + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + + let oldEvents: any[] = []; + let newEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; + + // Execute the orchestration until it is waiting for an external event. + // The result should be an empty list of actions because the orchestration didn't schedule any work + let executor = new OrchestrationExecutor(registry); + let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + expect(actions.length).toBe(0); + + // Now send an external event to the orchestration and execute it again. + // This time the orcehstration should complete + oldEvents = newEvents; + newEvents = [newEventRaisedEvent("my_event", "42")]; + executor = new OrchestrationExecutor(registry); + actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual("42"); + }); + + it("should test that an orchestration can receive an event that arrives earlier than expected", async () => { + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + yield ctx.createTimer(new Date(ctx.currentUtcDateTime.getTime() + 24 * 60 * 60 * 1000)); + const res = yield ctx.waitForExternalEvent("my_event"); + return res; + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + + let oldEvents: any[] = []; + let newEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID), + newEventRaisedEvent("my_event", "42"), + ]; + + // Execute the orchestration + // It should be in a running state waiting for the timer to fire + let executor = new OrchestrationExecutor(registry); + let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + expect(actions.length).toBe(1); + expect(actions[0].hasCreatetimer()).toBeTruthy(); + + // Complete the timer task + // The orchestration should move to the waitForExternalEvent step now which should + // then complete immediately because the event was buffered in the old event history + const timerDueTime = new Date(Date.now() + 1 * 24 * 60 * 60 * 1000); + newEvents.push(newTimerCreatedEvent(1, timerDueTime)); + oldEvents = newEvents; + newEvents = [newTimerFiredEvent(1, timerDueTime)]; + executor = new OrchestrationExecutor(registry); + actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual("42"); + }); + + it("should test that an orchestration can be suspended and resumed", async () => { + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const res = yield ctx.waitForExternalEvent("my_event"); + return res; + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + + const oldEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; + + let newEvents = [newSuspendEvent(), newEventRaisedEvent("my_event", "42")]; + + // Execute the orchestration + // It should be in a running state because it was suspended prior + // to the processing the event raised event + let executor = new OrchestrationExecutor(registry); + let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + expect(actions.length).toBe(0); + + // Resume the orchestration, it should complete successfully + oldEvents.push(...newEvents); + newEvents = [newResumeEvent()]; + executor = new OrchestrationExecutor(registry); + actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual("42"); + }); + + it("should test that an orchestration can be terminated before it completes", async () => { + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, _: any): any { + const res = yield ctx.waitForExternalEvent("my_event"); + return res; + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + + const oldEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; + + const newEvents = [newTerminatedEvent(JSON.stringify("terminated!")), newEventRaisedEvent("my_event", "42")]; + + // Execute the orchestration + // It should be in a running state waiting for an external event + let executor = new OrchestrationExecutor(registry); + let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + executor = new OrchestrationExecutor(registry); + actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_TERMINATED); + expect(completeAction?.getResult()?.getValue()).toEqual(JSON.stringify("terminated!")); + }); + + it("should be able to continue-as-new", async () => { + for (const saveEvent of [true, false]) { + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, input: number): any { + yield ctx.createTimer(new Date(ctx.currentUtcDateTime.getTime() + 1 * 24 * 60 * 60 * 1000)); + ctx.continueAsNew(input + 1, saveEvent); + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + + const oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, "1"), + newEventRaisedEvent("my_event", "42"), + newEventRaisedEvent("my_event", "43"), + newEventRaisedEvent("my_event", "44"), + newTimerCreatedEvent(1, new Date(Date.now() + 1 * 24 * 60 * 60 * 1000)), + ]; + + const newEvents = [newTimerFiredEvent(1, new Date(Date.now() + 1 * 24 * 60 * 60 * 1000))]; + + // Execute the orchestration, it should be in a running state waiting for the timer to fire + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual( + pb.OrchestrationStatus.ORCHESTRATION_STATUS_CONTINUED_AS_NEW, + ); + expect(completeAction?.getResult()?.getValue()).toEqual(JSON.stringify(2)); + expect(completeAction?.getCarryovereventsList()?.length).toEqual(saveEvent ? 3 : 0); + + for (let i = 0; i < (completeAction?.getCarryovereventsList()?.length ?? 0); i++) { + const event = completeAction?.getCarryovereventsList()[i]; + + // TODO: Should we check this with Typescript? As class typings are harder to detect + // expect(typeof event).toEqual(pb.HistoryEvent); + + expect(event?.hasEventraised()); + expect(event?.getEventraised()?.getName()?.toLocaleLowerCase()).toEqual("my_event"); + expect(event?.getEventraised()?.getInput()?.getValue()).toEqual(JSON.stringify(42 + i)); + } + } + }); + + it("should test that a fan-out pattern correctly schedules N tasks", async () => { + const hello = async (_: any, name: string) => { + return `Hello ${name}`; + }; + + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext, count: number): any { + const tasks: Task[] = []; + + for (let i = 0; i < count; i++) { + tasks.push(ctx.callActivity(hello, i.toString())); + } + + const results = yield whenAll(tasks); + return results; + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + const activityName = registry.addActivity(hello); + + const oldEvents: any[] = []; + const newEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID, "10"), + ]; + + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + // The result should be 10 "taskScheduled" actions with inputs from 0 to 9 + expect(actions.length).toEqual(10); + + for (let i = 0; i < 10; i++) { + expect(actions[i].hasScheduletask()); + expect(actions[i].getScheduletask()?.getName()).toEqual(activityName); + expect(actions[i].getScheduletask()?.getInput()?.getValue()).toEqual(`"${i}"`); + } + }); + + it("should test that a fan-in pattern works correctly", async () => { + const printInt = (_: any, value: number) => { + return value.toString(); + }; + + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { + const tasks: Task[] = []; + + for (let i = 0; i < 10; i++) { + tasks.push(ctx.callActivity(printInt, i)); + } + + const results = yield whenAll(tasks); + return results; + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + const activityName = registry.addActivity(printInt); + + const oldEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; + + for (let i = 0; i < 10; i++) { + oldEvents.push(newTaskScheduledEvent(i + 1, activityName, i.toString())); + } + + const newEvents: any[] = []; + + for (let i = 0; i < 10; i++) { + newEvents.push(newTaskCompletedEvent(i + 1, printInt(null, i))); + } + + // First, test with only the first 5 events + // we expect the orchestrator to be running + // it should however return 0 actions, since it is still waiting for the other 5 tasks to complete + let executor = new OrchestrationExecutor(registry); + let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents.slice(0, 4)); + expect(actions.length).toBe(0); + + // Now test with the full set of new events + // we expect the orchestration to complete + executor = new OrchestrationExecutor(registry); + actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual("[0,1,2,3,4,5,6,7,8,9]"); + }); + + it("should test that a fan-in works correctly when one of the tasks fails", async () => { + const printInt = (_: any, value: number) => { + return value.toString(); + }; + + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { + const tasks: Task[] = []; + + for (let i = 0; i < 10; i++) { + tasks.push(ctx.callActivity(printInt, i)); + } + + const results = yield whenAll(tasks); + return results; + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + const activityName = registry.addActivity(printInt); + + const oldEvents = [newOrchestratorStartedEvent(), newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; + + for (let i = 0; i < 10; i++) { + oldEvents.push(newTaskScheduledEvent(i + 1, activityName, i.toString())); + } + + // Chaos test with 5 tasks completing successfully, 1 failing and 4 still running + // we exect that the orchestration fails immediately now and does not wait for the 4 that are running + const newEvents: any[] = []; + + for (let i = 0; i < 5; i++) { + newEvents.push(newTaskCompletedEvent(i + 1, printInt(null, i))); + } + + const ex = new Error("Kah-BOOOOM!!!"); + newEvents.push(newTaskFailedEvent(6, ex)); + + // Now test with the full set of new events + // We expect the orchestration to complete + const executor = new OrchestrationExecutor(registry); + const actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + const completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_FAILED); + expect(completeAction?.getFailuredetails()?.getErrortype()).toEqual("TaskFailedError"); + expect(completeAction?.getFailuredetails()?.getErrormessage()).toContain(ex.message); + }); + + it("should test that a whenAny pattern works correctly", async () => { + const hello = (_: any, name: string) => { + return `Hello ${name}!`; + }; + + const orchestrator: TOrchestrator = async function* (ctx: OrchestrationContext): any { + const t1 = ctx.callActivity(hello, "Tokyo"); + const t2 = ctx.callActivity(hello, "Seattle"); + + const winner = yield whenAny([t1, t2]); + + if (winner == t1) { + return t1.getResult(); + } else { + return t2.getResult(); + } + }; + + const registry = new Registry(); + const orchestratorName = registry.addOrchestrator(orchestrator); + const activityName = registry.addActivity(hello); + + // Test 1: Start the orchestration and let it yield on the whenAny + // this should return 2 actions: a Tokyo Task Schedule and a Seattle Task Schedule + let oldEvents: any[] = []; + let newEvents = [newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID)]; + let executor = new OrchestrationExecutor(registry); + let actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + + expect(actions.length).toEqual(2); + expect(actions[0].hasScheduletask()).toBeTruthy(); + expect(actions[1].hasScheduletask()).toBeTruthy(); + + // The next tests assume that the orchestration has already await at the task.whenAny + oldEvents = [ + newOrchestratorStartedEvent(), + newExecutionStartedEvent(orchestratorName, TEST_INSTANCE_ID), + newTaskScheduledEvent(1, activityName, JSON.stringify("Tokyo")), + newTaskScheduledEvent(2, activityName, JSON.stringify("Seattle")), + ]; + + // Test 2: Complete the "Tokyo" task. + // the orchestration should now complete with "Hello Tokyo!" + let encodedOutput = JSON.stringify(hello(null, "Tokyo")); + newEvents = [newTaskCompletedEvent(1, encodedOutput)]; + executor = new OrchestrationExecutor(registry); + actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + let completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual(encodedOutput); + + // Test 3: Complete the "Seattle" task. + // the orchestration should now complete with "Hello Tokyo!" + encodedOutput = JSON.stringify(hello(null, "Seattle")); + newEvents = [newTaskCompletedEvent(2, encodedOutput)]; + executor = new OrchestrationExecutor(registry); + actions = await executor.execute(TEST_INSTANCE_ID, oldEvents, newEvents); + completeAction = getAndValidateSingleCompleteOrchestrationAction(actions); + expect(completeAction?.getOrchestrationstatus()).toEqual(pb.OrchestrationStatus.ORCHESTRATION_STATUS_COMPLETED); + expect(completeAction?.getResult()?.getValue()).toEqual(encodedOutput); + }); +}); + +function getAndValidateSingleCompleteOrchestrationAction( + actions: OrchestratorAction[], +): CompleteOrchestrationAction | undefined { + expect(actions.length).toEqual(1); + const action = actions[0]; + expect(action?.constructor?.name).toEqual(CompleteOrchestrationAction.name); + + const resCompleteOrchestration = action.getCompleteorchestration(); + expect(resCompleteOrchestration).not.toBeNull(); + return resCompleteOrchestration; +} diff --git a/packages/durabletask-js/tsconfig.build.json b/packages/durabletask-js/tsconfig.build.json new file mode 100644 index 0000000..668867e --- /dev/null +++ b/packages/durabletask-js/tsconfig.build.json @@ -0,0 +1,9 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist" + }, + "include": ["src"], + "exclude": ["node_modules", "dist", "test"] +} diff --git a/packages/durabletask-js/tsconfig.json b/packages/durabletask-js/tsconfig.json new file mode 100644 index 0000000..abebd4f --- /dev/null +++ b/packages/durabletask-js/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "rootDir": "./src", + "outDir": "./dist" + }, + "include": ["src"], + "exclude": ["node_modules", "dist", "test"] +} diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100755 index c77bd53..0000000 --- a/scripts/build.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2022 The Dapr Authors -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Stop on first error in execution -set -e - -echo "=====================================================" -echo "==================== Dapr JS SDK ====================" -echo "=====================================================" -echo "Executing in $(pwd)" -echo "Description: Build the package in build/" -echo "=====================================================" - -# Prepare build -echo "Preparing Build" -rm -rf build/ -mkdir build/ - -# @todo: gRPC binding pulling and building? -# echo "" -# echo "Building Protobuf" -# ./build-grpc.sh - -# Build Package -echo "Building Library" -npx tsc --outDir ./build/ - -# Prepare Publish -echo "Preparing Publish" -cp package.json build/ -cp README.md build/ - -# Copy Proto Files -cp -R ./src/proto ./build -cp -R ./internal/durabletask-protobuf/protos/orchestrator_service.proto ./build/proto diff --git a/scripts/download-proto.sh b/scripts/download-proto.sh index ced378f..4eb3044 100755 --- a/scripts/download-proto.sh +++ b/scripts/download-proto.sh @@ -18,8 +18,8 @@ set -e BRANCH=${1:-main} -PROTO_DIR="internal/durabletask-protobuf/protos" -COMMIT_HASH_FILE="internal/durabletask-protobuf/PROTO_SOURCE_COMMIT_HASH" +PROTO_DIR="internal/protocol/protos" +COMMIT_HASH_FILE="internal/protocol/SOURCE_COMMIT" echo "=====================================================" echo "========== Download Proto Files =====================" diff --git a/scripts/prebuild.sh b/scripts/prebuild.sh deleted file mode 100755 index d2aa360..0000000 --- a/scripts/prebuild.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env bash -# -# Copyright 2022 The Dapr Authors -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# This script generates a typescript file with constants -# for the SDK version and the SDK package name. - -FILENAME="src/version.ts" -HEADER="/* -Copyright 2022 The Dapr Authors -Licensed under the Apache License, Version 2.0 (the \"License\"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an \"AS IS\" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// This file is auto-generated by the prebuild script from package.json. -// It is not checked in to the git repository. -" - -echo "$HEADER" > $FILENAME - -node -p "'export const SDK_VERSION = ' + JSON.stringify(require('./package.json').version) + ';\n\ -export const SDK_PACKAGE_NAME = ' + JSON.stringify(require('./package.json').name) + ';'" >> $FILENAME \ No newline at end of file diff --git a/src/index.ts b/src/index.ts deleted file mode 100644 index aa0aa68..0000000 --- a/src/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -import { TaskHubGrpcClient } from "./client/client"; -import { TaskHubGrpcWorker } from "./worker/task-hub-grpc-worker"; -import { OrchestrationContext } from "./task/context/orchestration-context"; -import { ActivityContext } from "./task/context/activity-context"; - -export { TaskHubGrpcClient, TaskHubGrpcWorker, OrchestrationContext, ActivityContext }; diff --git a/src/proto/orchestrator_service_pb.d.ts b/src/proto/orchestrator_service_pb.d.ts deleted file mode 100644 index 715f47f..0000000 --- a/src/proto/orchestrator_service_pb.d.ts +++ /dev/null @@ -1,1949 +0,0 @@ -// package: -// file: orchestrator_service.proto - -/* tslint:disable */ -/* eslint-disable */ - -import * as jspb from "google-protobuf"; -import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb"; -import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb"; -import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; - -export class OrchestrationInstance extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): OrchestrationInstance; - - hasExecutionid(): boolean; - clearExecutionid(): void; - getExecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; - setExecutionid(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationInstance; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): OrchestrationInstance.AsObject; - static toObject(includeInstance: boolean, msg: OrchestrationInstance): OrchestrationInstance.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: OrchestrationInstance, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): OrchestrationInstance; - static deserializeBinaryFromReader(message: OrchestrationInstance, reader: jspb.BinaryReader): OrchestrationInstance; -} - -export namespace OrchestrationInstance { - export type AsObject = { - instanceid: string, - executionid?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class ActivityRequest extends jspb.Message { - getName(): string; - setName(value: string): ActivityRequest; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): ActivityRequest; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): ActivityRequest; - - hasOrchestrationinstance(): boolean; - clearOrchestrationinstance(): void; - getOrchestrationinstance(): OrchestrationInstance | undefined; - setOrchestrationinstance(value?: OrchestrationInstance): ActivityRequest; - getTaskid(): number; - setTaskid(value: number): ActivityRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ActivityRequest.AsObject; - static toObject(includeInstance: boolean, msg: ActivityRequest): ActivityRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ActivityRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ActivityRequest; - static deserializeBinaryFromReader(message: ActivityRequest, reader: jspb.BinaryReader): ActivityRequest; -} - -export namespace ActivityRequest { - export type AsObject = { - name: string, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - orchestrationinstance?: OrchestrationInstance.AsObject, - taskid: number, - } -} - -export class ActivityResponse extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): ActivityResponse; - getTaskid(): number; - setTaskid(value: number): ActivityResponse; - - hasResult(): boolean; - clearResult(): void; - getResult(): google_protobuf_wrappers_pb.StringValue | undefined; - setResult(value?: google_protobuf_wrappers_pb.StringValue): ActivityResponse; - - hasFailuredetails(): boolean; - clearFailuredetails(): void; - getFailuredetails(): TaskFailureDetails | undefined; - setFailuredetails(value?: TaskFailureDetails): ActivityResponse; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ActivityResponse.AsObject; - static toObject(includeInstance: boolean, msg: ActivityResponse): ActivityResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ActivityResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ActivityResponse; - static deserializeBinaryFromReader(message: ActivityResponse, reader: jspb.BinaryReader): ActivityResponse; -} - -export namespace ActivityResponse { - export type AsObject = { - instanceid: string, - taskid: number, - result?: google_protobuf_wrappers_pb.StringValue.AsObject, - failuredetails?: TaskFailureDetails.AsObject, - } -} - -export class TaskFailureDetails extends jspb.Message { - getErrortype(): string; - setErrortype(value: string): TaskFailureDetails; - getErrormessage(): string; - setErrormessage(value: string): TaskFailureDetails; - - hasStacktrace(): boolean; - clearStacktrace(): void; - getStacktrace(): google_protobuf_wrappers_pb.StringValue | undefined; - setStacktrace(value?: google_protobuf_wrappers_pb.StringValue): TaskFailureDetails; - - hasInnerfailure(): boolean; - clearInnerfailure(): void; - getInnerfailure(): TaskFailureDetails | undefined; - setInnerfailure(value?: TaskFailureDetails): TaskFailureDetails; - getIsnonretriable(): boolean; - setIsnonretriable(value: boolean): TaskFailureDetails; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): TaskFailureDetails.AsObject; - static toObject(includeInstance: boolean, msg: TaskFailureDetails): TaskFailureDetails.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: TaskFailureDetails, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): TaskFailureDetails; - static deserializeBinaryFromReader(message: TaskFailureDetails, reader: jspb.BinaryReader): TaskFailureDetails; -} - -export namespace TaskFailureDetails { - export type AsObject = { - errortype: string, - errormessage: string, - stacktrace?: google_protobuf_wrappers_pb.StringValue.AsObject, - innerfailure?: TaskFailureDetails.AsObject, - isnonretriable: boolean, - } -} - -export class ParentInstanceInfo extends jspb.Message { - getTaskscheduledid(): number; - setTaskscheduledid(value: number): ParentInstanceInfo; - - hasName(): boolean; - clearName(): void; - getName(): google_protobuf_wrappers_pb.StringValue | undefined; - setName(value?: google_protobuf_wrappers_pb.StringValue): ParentInstanceInfo; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): ParentInstanceInfo; - - hasOrchestrationinstance(): boolean; - clearOrchestrationinstance(): void; - getOrchestrationinstance(): OrchestrationInstance | undefined; - setOrchestrationinstance(value?: OrchestrationInstance): ParentInstanceInfo; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ParentInstanceInfo.AsObject; - static toObject(includeInstance: boolean, msg: ParentInstanceInfo): ParentInstanceInfo.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ParentInstanceInfo, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ParentInstanceInfo; - static deserializeBinaryFromReader(message: ParentInstanceInfo, reader: jspb.BinaryReader): ParentInstanceInfo; -} - -export namespace ParentInstanceInfo { - export type AsObject = { - taskscheduledid: number, - name?: google_protobuf_wrappers_pb.StringValue.AsObject, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - orchestrationinstance?: OrchestrationInstance.AsObject, - } -} - -export class ExecutionStartedEvent extends jspb.Message { - getName(): string; - setName(value: string): ExecutionStartedEvent; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): ExecutionStartedEvent; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionStartedEvent; - - hasOrchestrationinstance(): boolean; - clearOrchestrationinstance(): void; - getOrchestrationinstance(): OrchestrationInstance | undefined; - setOrchestrationinstance(value?: OrchestrationInstance): ExecutionStartedEvent; - - hasParentinstance(): boolean; - clearParentinstance(): void; - getParentinstance(): ParentInstanceInfo | undefined; - setParentinstance(value?: ParentInstanceInfo): ExecutionStartedEvent; - - hasScheduledstarttimestamp(): boolean; - clearScheduledstarttimestamp(): void; - getScheduledstarttimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; - setScheduledstarttimestamp(value?: google_protobuf_timestamp_pb.Timestamp): ExecutionStartedEvent; - - hasCorrelationdata(): boolean; - clearCorrelationdata(): void; - getCorrelationdata(): google_protobuf_wrappers_pb.StringValue | undefined; - setCorrelationdata(value?: google_protobuf_wrappers_pb.StringValue): ExecutionStartedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ExecutionStartedEvent.AsObject; - static toObject(includeInstance: boolean, msg: ExecutionStartedEvent): ExecutionStartedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ExecutionStartedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ExecutionStartedEvent; - static deserializeBinaryFromReader(message: ExecutionStartedEvent, reader: jspb.BinaryReader): ExecutionStartedEvent; -} - -export namespace ExecutionStartedEvent { - export type AsObject = { - name: string, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - orchestrationinstance?: OrchestrationInstance.AsObject, - parentinstance?: ParentInstanceInfo.AsObject, - scheduledstarttimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, - correlationdata?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class ExecutionCompletedEvent extends jspb.Message { - getOrchestrationstatus(): OrchestrationStatus; - setOrchestrationstatus(value: OrchestrationStatus): ExecutionCompletedEvent; - - hasResult(): boolean; - clearResult(): void; - getResult(): google_protobuf_wrappers_pb.StringValue | undefined; - setResult(value?: google_protobuf_wrappers_pb.StringValue): ExecutionCompletedEvent; - - hasFailuredetails(): boolean; - clearFailuredetails(): void; - getFailuredetails(): TaskFailureDetails | undefined; - setFailuredetails(value?: TaskFailureDetails): ExecutionCompletedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ExecutionCompletedEvent.AsObject; - static toObject(includeInstance: boolean, msg: ExecutionCompletedEvent): ExecutionCompletedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ExecutionCompletedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ExecutionCompletedEvent; - static deserializeBinaryFromReader(message: ExecutionCompletedEvent, reader: jspb.BinaryReader): ExecutionCompletedEvent; -} - -export namespace ExecutionCompletedEvent { - export type AsObject = { - orchestrationstatus: OrchestrationStatus, - result?: google_protobuf_wrappers_pb.StringValue.AsObject, - failuredetails?: TaskFailureDetails.AsObject, - } -} - -export class ExecutionTerminatedEvent extends jspb.Message { - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionTerminatedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ExecutionTerminatedEvent.AsObject; - static toObject(includeInstance: boolean, msg: ExecutionTerminatedEvent): ExecutionTerminatedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ExecutionTerminatedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ExecutionTerminatedEvent; - static deserializeBinaryFromReader(message: ExecutionTerminatedEvent, reader: jspb.BinaryReader): ExecutionTerminatedEvent; -} - -export namespace ExecutionTerminatedEvent { - export type AsObject = { - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class TaskScheduledEvent extends jspb.Message { - getName(): string; - setName(value: string): TaskScheduledEvent; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): TaskScheduledEvent; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): TaskScheduledEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): TaskScheduledEvent.AsObject; - static toObject(includeInstance: boolean, msg: TaskScheduledEvent): TaskScheduledEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: TaskScheduledEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): TaskScheduledEvent; - static deserializeBinaryFromReader(message: TaskScheduledEvent, reader: jspb.BinaryReader): TaskScheduledEvent; -} - -export namespace TaskScheduledEvent { - export type AsObject = { - name: string, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class TaskCompletedEvent extends jspb.Message { - getTaskscheduledid(): number; - setTaskscheduledid(value: number): TaskCompletedEvent; - - hasResult(): boolean; - clearResult(): void; - getResult(): google_protobuf_wrappers_pb.StringValue | undefined; - setResult(value?: google_protobuf_wrappers_pb.StringValue): TaskCompletedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): TaskCompletedEvent.AsObject; - static toObject(includeInstance: boolean, msg: TaskCompletedEvent): TaskCompletedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: TaskCompletedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): TaskCompletedEvent; - static deserializeBinaryFromReader(message: TaskCompletedEvent, reader: jspb.BinaryReader): TaskCompletedEvent; -} - -export namespace TaskCompletedEvent { - export type AsObject = { - taskscheduledid: number, - result?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class TaskFailedEvent extends jspb.Message { - getTaskscheduledid(): number; - setTaskscheduledid(value: number): TaskFailedEvent; - - hasFailuredetails(): boolean; - clearFailuredetails(): void; - getFailuredetails(): TaskFailureDetails | undefined; - setFailuredetails(value?: TaskFailureDetails): TaskFailedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): TaskFailedEvent.AsObject; - static toObject(includeInstance: boolean, msg: TaskFailedEvent): TaskFailedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: TaskFailedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): TaskFailedEvent; - static deserializeBinaryFromReader(message: TaskFailedEvent, reader: jspb.BinaryReader): TaskFailedEvent; -} - -export namespace TaskFailedEvent { - export type AsObject = { - taskscheduledid: number, - failuredetails?: TaskFailureDetails.AsObject, - } -} - -export class SubOrchestrationInstanceCreatedEvent extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): SubOrchestrationInstanceCreatedEvent; - getName(): string; - setName(value: string): SubOrchestrationInstanceCreatedEvent; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): SubOrchestrationInstanceCreatedEvent; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): SubOrchestrationInstanceCreatedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SubOrchestrationInstanceCreatedEvent.AsObject; - static toObject(includeInstance: boolean, msg: SubOrchestrationInstanceCreatedEvent): SubOrchestrationInstanceCreatedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SubOrchestrationInstanceCreatedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SubOrchestrationInstanceCreatedEvent; - static deserializeBinaryFromReader(message: SubOrchestrationInstanceCreatedEvent, reader: jspb.BinaryReader): SubOrchestrationInstanceCreatedEvent; -} - -export namespace SubOrchestrationInstanceCreatedEvent { - export type AsObject = { - instanceid: string, - name: string, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class SubOrchestrationInstanceCompletedEvent extends jspb.Message { - getTaskscheduledid(): number; - setTaskscheduledid(value: number): SubOrchestrationInstanceCompletedEvent; - - hasResult(): boolean; - clearResult(): void; - getResult(): google_protobuf_wrappers_pb.StringValue | undefined; - setResult(value?: google_protobuf_wrappers_pb.StringValue): SubOrchestrationInstanceCompletedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SubOrchestrationInstanceCompletedEvent.AsObject; - static toObject(includeInstance: boolean, msg: SubOrchestrationInstanceCompletedEvent): SubOrchestrationInstanceCompletedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SubOrchestrationInstanceCompletedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SubOrchestrationInstanceCompletedEvent; - static deserializeBinaryFromReader(message: SubOrchestrationInstanceCompletedEvent, reader: jspb.BinaryReader): SubOrchestrationInstanceCompletedEvent; -} - -export namespace SubOrchestrationInstanceCompletedEvent { - export type AsObject = { - taskscheduledid: number, - result?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class SubOrchestrationInstanceFailedEvent extends jspb.Message { - getTaskscheduledid(): number; - setTaskscheduledid(value: number): SubOrchestrationInstanceFailedEvent; - - hasFailuredetails(): boolean; - clearFailuredetails(): void; - getFailuredetails(): TaskFailureDetails | undefined; - setFailuredetails(value?: TaskFailureDetails): SubOrchestrationInstanceFailedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SubOrchestrationInstanceFailedEvent.AsObject; - static toObject(includeInstance: boolean, msg: SubOrchestrationInstanceFailedEvent): SubOrchestrationInstanceFailedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SubOrchestrationInstanceFailedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SubOrchestrationInstanceFailedEvent; - static deserializeBinaryFromReader(message: SubOrchestrationInstanceFailedEvent, reader: jspb.BinaryReader): SubOrchestrationInstanceFailedEvent; -} - -export namespace SubOrchestrationInstanceFailedEvent { - export type AsObject = { - taskscheduledid: number, - failuredetails?: TaskFailureDetails.AsObject, - } -} - -export class TimerCreatedEvent extends jspb.Message { - - hasFireat(): boolean; - clearFireat(): void; - getFireat(): google_protobuf_timestamp_pb.Timestamp | undefined; - setFireat(value?: google_protobuf_timestamp_pb.Timestamp): TimerCreatedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): TimerCreatedEvent.AsObject; - static toObject(includeInstance: boolean, msg: TimerCreatedEvent): TimerCreatedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: TimerCreatedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): TimerCreatedEvent; - static deserializeBinaryFromReader(message: TimerCreatedEvent, reader: jspb.BinaryReader): TimerCreatedEvent; -} - -export namespace TimerCreatedEvent { - export type AsObject = { - fireat?: google_protobuf_timestamp_pb.Timestamp.AsObject, - } -} - -export class TimerFiredEvent extends jspb.Message { - - hasFireat(): boolean; - clearFireat(): void; - getFireat(): google_protobuf_timestamp_pb.Timestamp | undefined; - setFireat(value?: google_protobuf_timestamp_pb.Timestamp): TimerFiredEvent; - getTimerid(): number; - setTimerid(value: number): TimerFiredEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): TimerFiredEvent.AsObject; - static toObject(includeInstance: boolean, msg: TimerFiredEvent): TimerFiredEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: TimerFiredEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): TimerFiredEvent; - static deserializeBinaryFromReader(message: TimerFiredEvent, reader: jspb.BinaryReader): TimerFiredEvent; -} - -export namespace TimerFiredEvent { - export type AsObject = { - fireat?: google_protobuf_timestamp_pb.Timestamp.AsObject, - timerid: number, - } -} - -export class OrchestratorStartedEvent extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): OrchestratorStartedEvent.AsObject; - static toObject(includeInstance: boolean, msg: OrchestratorStartedEvent): OrchestratorStartedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: OrchestratorStartedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): OrchestratorStartedEvent; - static deserializeBinaryFromReader(message: OrchestratorStartedEvent, reader: jspb.BinaryReader): OrchestratorStartedEvent; -} - -export namespace OrchestratorStartedEvent { - export type AsObject = { - } -} - -export class OrchestratorCompletedEvent extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): OrchestratorCompletedEvent.AsObject; - static toObject(includeInstance: boolean, msg: OrchestratorCompletedEvent): OrchestratorCompletedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: OrchestratorCompletedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): OrchestratorCompletedEvent; - static deserializeBinaryFromReader(message: OrchestratorCompletedEvent, reader: jspb.BinaryReader): OrchestratorCompletedEvent; -} - -export namespace OrchestratorCompletedEvent { - export type AsObject = { - } -} - -export class EventSentEvent extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): EventSentEvent; - getName(): string; - setName(value: string): EventSentEvent; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): EventSentEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): EventSentEvent.AsObject; - static toObject(includeInstance: boolean, msg: EventSentEvent): EventSentEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: EventSentEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): EventSentEvent; - static deserializeBinaryFromReader(message: EventSentEvent, reader: jspb.BinaryReader): EventSentEvent; -} - -export namespace EventSentEvent { - export type AsObject = { - instanceid: string, - name: string, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class EventRaisedEvent extends jspb.Message { - getName(): string; - setName(value: string): EventRaisedEvent; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): EventRaisedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): EventRaisedEvent.AsObject; - static toObject(includeInstance: boolean, msg: EventRaisedEvent): EventRaisedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: EventRaisedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): EventRaisedEvent; - static deserializeBinaryFromReader(message: EventRaisedEvent, reader: jspb.BinaryReader): EventRaisedEvent; -} - -export namespace EventRaisedEvent { - export type AsObject = { - name: string, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class GenericEvent extends jspb.Message { - getData(): string; - setData(value: string): GenericEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): GenericEvent.AsObject; - static toObject(includeInstance: boolean, msg: GenericEvent): GenericEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GenericEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): GenericEvent; - static deserializeBinaryFromReader(message: GenericEvent, reader: jspb.BinaryReader): GenericEvent; -} - -export namespace GenericEvent { - export type AsObject = { - data: string, - } -} - -export class HistoryStateEvent extends jspb.Message { - - hasOrchestrationstate(): boolean; - clearOrchestrationstate(): void; - getOrchestrationstate(): OrchestrationState | undefined; - setOrchestrationstate(value?: OrchestrationState): HistoryStateEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): HistoryStateEvent.AsObject; - static toObject(includeInstance: boolean, msg: HistoryStateEvent): HistoryStateEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: HistoryStateEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): HistoryStateEvent; - static deserializeBinaryFromReader(message: HistoryStateEvent, reader: jspb.BinaryReader): HistoryStateEvent; -} - -export namespace HistoryStateEvent { - export type AsObject = { - orchestrationstate?: OrchestrationState.AsObject, - } -} - -export class ContinueAsNewEvent extends jspb.Message { - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): ContinueAsNewEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ContinueAsNewEvent.AsObject; - static toObject(includeInstance: boolean, msg: ContinueAsNewEvent): ContinueAsNewEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ContinueAsNewEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ContinueAsNewEvent; - static deserializeBinaryFromReader(message: ContinueAsNewEvent, reader: jspb.BinaryReader): ContinueAsNewEvent; -} - -export namespace ContinueAsNewEvent { - export type AsObject = { - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class ExecutionSuspendedEvent extends jspb.Message { - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionSuspendedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ExecutionSuspendedEvent.AsObject; - static toObject(includeInstance: boolean, msg: ExecutionSuspendedEvent): ExecutionSuspendedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ExecutionSuspendedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ExecutionSuspendedEvent; - static deserializeBinaryFromReader(message: ExecutionSuspendedEvent, reader: jspb.BinaryReader): ExecutionSuspendedEvent; -} - -export namespace ExecutionSuspendedEvent { - export type AsObject = { - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class ExecutionResumedEvent extends jspb.Message { - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): ExecutionResumedEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ExecutionResumedEvent.AsObject; - static toObject(includeInstance: boolean, msg: ExecutionResumedEvent): ExecutionResumedEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ExecutionResumedEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ExecutionResumedEvent; - static deserializeBinaryFromReader(message: ExecutionResumedEvent, reader: jspb.BinaryReader): ExecutionResumedEvent; -} - -export namespace ExecutionResumedEvent { - export type AsObject = { - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class HistoryEvent extends jspb.Message { - getEventid(): number; - setEventid(value: number): HistoryEvent; - - hasTimestamp(): boolean; - clearTimestamp(): void; - getTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; - setTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): HistoryEvent; - - hasExecutionstarted(): boolean; - clearExecutionstarted(): void; - getExecutionstarted(): ExecutionStartedEvent | undefined; - setExecutionstarted(value?: ExecutionStartedEvent): HistoryEvent; - - hasExecutioncompleted(): boolean; - clearExecutioncompleted(): void; - getExecutioncompleted(): ExecutionCompletedEvent | undefined; - setExecutioncompleted(value?: ExecutionCompletedEvent): HistoryEvent; - - hasExecutionterminated(): boolean; - clearExecutionterminated(): void; - getExecutionterminated(): ExecutionTerminatedEvent | undefined; - setExecutionterminated(value?: ExecutionTerminatedEvent): HistoryEvent; - - hasTaskscheduled(): boolean; - clearTaskscheduled(): void; - getTaskscheduled(): TaskScheduledEvent | undefined; - setTaskscheduled(value?: TaskScheduledEvent): HistoryEvent; - - hasTaskcompleted(): boolean; - clearTaskcompleted(): void; - getTaskcompleted(): TaskCompletedEvent | undefined; - setTaskcompleted(value?: TaskCompletedEvent): HistoryEvent; - - hasTaskfailed(): boolean; - clearTaskfailed(): void; - getTaskfailed(): TaskFailedEvent | undefined; - setTaskfailed(value?: TaskFailedEvent): HistoryEvent; - - hasSuborchestrationinstancecreated(): boolean; - clearSuborchestrationinstancecreated(): void; - getSuborchestrationinstancecreated(): SubOrchestrationInstanceCreatedEvent | undefined; - setSuborchestrationinstancecreated(value?: SubOrchestrationInstanceCreatedEvent): HistoryEvent; - - hasSuborchestrationinstancecompleted(): boolean; - clearSuborchestrationinstancecompleted(): void; - getSuborchestrationinstancecompleted(): SubOrchestrationInstanceCompletedEvent | undefined; - setSuborchestrationinstancecompleted(value?: SubOrchestrationInstanceCompletedEvent): HistoryEvent; - - hasSuborchestrationinstancefailed(): boolean; - clearSuborchestrationinstancefailed(): void; - getSuborchestrationinstancefailed(): SubOrchestrationInstanceFailedEvent | undefined; - setSuborchestrationinstancefailed(value?: SubOrchestrationInstanceFailedEvent): HistoryEvent; - - hasTimercreated(): boolean; - clearTimercreated(): void; - getTimercreated(): TimerCreatedEvent | undefined; - setTimercreated(value?: TimerCreatedEvent): HistoryEvent; - - hasTimerfired(): boolean; - clearTimerfired(): void; - getTimerfired(): TimerFiredEvent | undefined; - setTimerfired(value?: TimerFiredEvent): HistoryEvent; - - hasOrchestratorstarted(): boolean; - clearOrchestratorstarted(): void; - getOrchestratorstarted(): OrchestratorStartedEvent | undefined; - setOrchestratorstarted(value?: OrchestratorStartedEvent): HistoryEvent; - - hasOrchestratorcompleted(): boolean; - clearOrchestratorcompleted(): void; - getOrchestratorcompleted(): OrchestratorCompletedEvent | undefined; - setOrchestratorcompleted(value?: OrchestratorCompletedEvent): HistoryEvent; - - hasEventsent(): boolean; - clearEventsent(): void; - getEventsent(): EventSentEvent | undefined; - setEventsent(value?: EventSentEvent): HistoryEvent; - - hasEventraised(): boolean; - clearEventraised(): void; - getEventraised(): EventRaisedEvent | undefined; - setEventraised(value?: EventRaisedEvent): HistoryEvent; - - hasGenericevent(): boolean; - clearGenericevent(): void; - getGenericevent(): GenericEvent | undefined; - setGenericevent(value?: GenericEvent): HistoryEvent; - - hasHistorystate(): boolean; - clearHistorystate(): void; - getHistorystate(): HistoryStateEvent | undefined; - setHistorystate(value?: HistoryStateEvent): HistoryEvent; - - hasContinueasnew(): boolean; - clearContinueasnew(): void; - getContinueasnew(): ContinueAsNewEvent | undefined; - setContinueasnew(value?: ContinueAsNewEvent): HistoryEvent; - - hasExecutionsuspended(): boolean; - clearExecutionsuspended(): void; - getExecutionsuspended(): ExecutionSuspendedEvent | undefined; - setExecutionsuspended(value?: ExecutionSuspendedEvent): HistoryEvent; - - hasExecutionresumed(): boolean; - clearExecutionresumed(): void; - getExecutionresumed(): ExecutionResumedEvent | undefined; - setExecutionresumed(value?: ExecutionResumedEvent): HistoryEvent; - - getEventtypeCase(): HistoryEvent.EventtypeCase; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): HistoryEvent.AsObject; - static toObject(includeInstance: boolean, msg: HistoryEvent): HistoryEvent.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: HistoryEvent, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): HistoryEvent; - static deserializeBinaryFromReader(message: HistoryEvent, reader: jspb.BinaryReader): HistoryEvent; -} - -export namespace HistoryEvent { - export type AsObject = { - eventid: number, - timestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, - executionstarted?: ExecutionStartedEvent.AsObject, - executioncompleted?: ExecutionCompletedEvent.AsObject, - executionterminated?: ExecutionTerminatedEvent.AsObject, - taskscheduled?: TaskScheduledEvent.AsObject, - taskcompleted?: TaskCompletedEvent.AsObject, - taskfailed?: TaskFailedEvent.AsObject, - suborchestrationinstancecreated?: SubOrchestrationInstanceCreatedEvent.AsObject, - suborchestrationinstancecompleted?: SubOrchestrationInstanceCompletedEvent.AsObject, - suborchestrationinstancefailed?: SubOrchestrationInstanceFailedEvent.AsObject, - timercreated?: TimerCreatedEvent.AsObject, - timerfired?: TimerFiredEvent.AsObject, - orchestratorstarted?: OrchestratorStartedEvent.AsObject, - orchestratorcompleted?: OrchestratorCompletedEvent.AsObject, - eventsent?: EventSentEvent.AsObject, - eventraised?: EventRaisedEvent.AsObject, - genericevent?: GenericEvent.AsObject, - historystate?: HistoryStateEvent.AsObject, - continueasnew?: ContinueAsNewEvent.AsObject, - executionsuspended?: ExecutionSuspendedEvent.AsObject, - executionresumed?: ExecutionResumedEvent.AsObject, - } - - export enum EventtypeCase { - EVENTTYPE_NOT_SET = 0, - EXECUTIONSTARTED = 3, - EXECUTIONCOMPLETED = 4, - EXECUTIONTERMINATED = 5, - TASKSCHEDULED = 6, - TASKCOMPLETED = 7, - TASKFAILED = 8, - SUBORCHESTRATIONINSTANCECREATED = 9, - SUBORCHESTRATIONINSTANCECOMPLETED = 10, - SUBORCHESTRATIONINSTANCEFAILED = 11, - TIMERCREATED = 12, - TIMERFIRED = 13, - ORCHESTRATORSTARTED = 14, - ORCHESTRATORCOMPLETED = 15, - EVENTSENT = 16, - EVENTRAISED = 17, - GENERICEVENT = 18, - HISTORYSTATE = 19, - CONTINUEASNEW = 20, - EXECUTIONSUSPENDED = 21, - EXECUTIONRESUMED = 22, - } - -} - -export class ScheduleTaskAction extends jspb.Message { - getName(): string; - setName(value: string): ScheduleTaskAction; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): ScheduleTaskAction; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): ScheduleTaskAction; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ScheduleTaskAction.AsObject; - static toObject(includeInstance: boolean, msg: ScheduleTaskAction): ScheduleTaskAction.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ScheduleTaskAction, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ScheduleTaskAction; - static deserializeBinaryFromReader(message: ScheduleTaskAction, reader: jspb.BinaryReader): ScheduleTaskAction; -} - -export namespace ScheduleTaskAction { - export type AsObject = { - name: string, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class CreateSubOrchestrationAction extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): CreateSubOrchestrationAction; - getName(): string; - setName(value: string): CreateSubOrchestrationAction; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): CreateSubOrchestrationAction; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): CreateSubOrchestrationAction; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CreateSubOrchestrationAction.AsObject; - static toObject(includeInstance: boolean, msg: CreateSubOrchestrationAction): CreateSubOrchestrationAction.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateSubOrchestrationAction, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CreateSubOrchestrationAction; - static deserializeBinaryFromReader(message: CreateSubOrchestrationAction, reader: jspb.BinaryReader): CreateSubOrchestrationAction; -} - -export namespace CreateSubOrchestrationAction { - export type AsObject = { - instanceid: string, - name: string, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class CreateTimerAction extends jspb.Message { - - hasFireat(): boolean; - clearFireat(): void; - getFireat(): google_protobuf_timestamp_pb.Timestamp | undefined; - setFireat(value?: google_protobuf_timestamp_pb.Timestamp): CreateTimerAction; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CreateTimerAction.AsObject; - static toObject(includeInstance: boolean, msg: CreateTimerAction): CreateTimerAction.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateTimerAction, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CreateTimerAction; - static deserializeBinaryFromReader(message: CreateTimerAction, reader: jspb.BinaryReader): CreateTimerAction; -} - -export namespace CreateTimerAction { - export type AsObject = { - fireat?: google_protobuf_timestamp_pb.Timestamp.AsObject, - } -} - -export class SendEventAction extends jspb.Message { - - hasInstance(): boolean; - clearInstance(): void; - getInstance(): OrchestrationInstance | undefined; - setInstance(value?: OrchestrationInstance): SendEventAction; - getName(): string; - setName(value: string): SendEventAction; - - hasData(): boolean; - clearData(): void; - getData(): google_protobuf_wrappers_pb.StringValue | undefined; - setData(value?: google_protobuf_wrappers_pb.StringValue): SendEventAction; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SendEventAction.AsObject; - static toObject(includeInstance: boolean, msg: SendEventAction): SendEventAction.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SendEventAction, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SendEventAction; - static deserializeBinaryFromReader(message: SendEventAction, reader: jspb.BinaryReader): SendEventAction; -} - -export namespace SendEventAction { - export type AsObject = { - instance?: OrchestrationInstance.AsObject, - name: string, - data?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class CompleteOrchestrationAction extends jspb.Message { - getOrchestrationstatus(): OrchestrationStatus; - setOrchestrationstatus(value: OrchestrationStatus): CompleteOrchestrationAction; - - hasResult(): boolean; - clearResult(): void; - getResult(): google_protobuf_wrappers_pb.StringValue | undefined; - setResult(value?: google_protobuf_wrappers_pb.StringValue): CompleteOrchestrationAction; - - hasDetails(): boolean; - clearDetails(): void; - getDetails(): google_protobuf_wrappers_pb.StringValue | undefined; - setDetails(value?: google_protobuf_wrappers_pb.StringValue): CompleteOrchestrationAction; - - hasNewversion(): boolean; - clearNewversion(): void; - getNewversion(): google_protobuf_wrappers_pb.StringValue | undefined; - setNewversion(value?: google_protobuf_wrappers_pb.StringValue): CompleteOrchestrationAction; - clearCarryovereventsList(): void; - getCarryovereventsList(): Array; - setCarryovereventsList(value: Array): CompleteOrchestrationAction; - addCarryoverevents(value?: HistoryEvent, index?: number): HistoryEvent; - - hasFailuredetails(): boolean; - clearFailuredetails(): void; - getFailuredetails(): TaskFailureDetails | undefined; - setFailuredetails(value?: TaskFailureDetails): CompleteOrchestrationAction; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CompleteOrchestrationAction.AsObject; - static toObject(includeInstance: boolean, msg: CompleteOrchestrationAction): CompleteOrchestrationAction.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CompleteOrchestrationAction, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CompleteOrchestrationAction; - static deserializeBinaryFromReader(message: CompleteOrchestrationAction, reader: jspb.BinaryReader): CompleteOrchestrationAction; -} - -export namespace CompleteOrchestrationAction { - export type AsObject = { - orchestrationstatus: OrchestrationStatus, - result?: google_protobuf_wrappers_pb.StringValue.AsObject, - details?: google_protobuf_wrappers_pb.StringValue.AsObject, - newversion?: google_protobuf_wrappers_pb.StringValue.AsObject, - carryovereventsList: Array, - failuredetails?: TaskFailureDetails.AsObject, - } -} - -export class OrchestratorAction extends jspb.Message { - getId(): number; - setId(value: number): OrchestratorAction; - - hasScheduletask(): boolean; - clearScheduletask(): void; - getScheduletask(): ScheduleTaskAction | undefined; - setScheduletask(value?: ScheduleTaskAction): OrchestratorAction; - - hasCreatesuborchestration(): boolean; - clearCreatesuborchestration(): void; - getCreatesuborchestration(): CreateSubOrchestrationAction | undefined; - setCreatesuborchestration(value?: CreateSubOrchestrationAction): OrchestratorAction; - - hasCreatetimer(): boolean; - clearCreatetimer(): void; - getCreatetimer(): CreateTimerAction | undefined; - setCreatetimer(value?: CreateTimerAction): OrchestratorAction; - - hasSendevent(): boolean; - clearSendevent(): void; - getSendevent(): SendEventAction | undefined; - setSendevent(value?: SendEventAction): OrchestratorAction; - - hasCompleteorchestration(): boolean; - clearCompleteorchestration(): void; - getCompleteorchestration(): CompleteOrchestrationAction | undefined; - setCompleteorchestration(value?: CompleteOrchestrationAction): OrchestratorAction; - - getOrchestratoractiontypeCase(): OrchestratorAction.OrchestratoractiontypeCase; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): OrchestratorAction.AsObject; - static toObject(includeInstance: boolean, msg: OrchestratorAction): OrchestratorAction.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: OrchestratorAction, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): OrchestratorAction; - static deserializeBinaryFromReader(message: OrchestratorAction, reader: jspb.BinaryReader): OrchestratorAction; -} - -export namespace OrchestratorAction { - export type AsObject = { - id: number, - scheduletask?: ScheduleTaskAction.AsObject, - createsuborchestration?: CreateSubOrchestrationAction.AsObject, - createtimer?: CreateTimerAction.AsObject, - sendevent?: SendEventAction.AsObject, - completeorchestration?: CompleteOrchestrationAction.AsObject, - } - - export enum OrchestratoractiontypeCase { - ORCHESTRATORACTIONTYPE_NOT_SET = 0, - SCHEDULETASK = 2, - CREATESUBORCHESTRATION = 3, - CREATETIMER = 4, - SENDEVENT = 5, - COMPLETEORCHESTRATION = 6, - } - -} - -export class OrchestratorRequest extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): OrchestratorRequest; - - hasExecutionid(): boolean; - clearExecutionid(): void; - getExecutionid(): google_protobuf_wrappers_pb.StringValue | undefined; - setExecutionid(value?: google_protobuf_wrappers_pb.StringValue): OrchestratorRequest; - clearPasteventsList(): void; - getPasteventsList(): Array; - setPasteventsList(value: Array): OrchestratorRequest; - addPastevents(value?: HistoryEvent, index?: number): HistoryEvent; - clearNeweventsList(): void; - getNeweventsList(): Array; - setNeweventsList(value: Array): OrchestratorRequest; - addNewevents(value?: HistoryEvent, index?: number): HistoryEvent; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): OrchestratorRequest.AsObject; - static toObject(includeInstance: boolean, msg: OrchestratorRequest): OrchestratorRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: OrchestratorRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): OrchestratorRequest; - static deserializeBinaryFromReader(message: OrchestratorRequest, reader: jspb.BinaryReader): OrchestratorRequest; -} - -export namespace OrchestratorRequest { - export type AsObject = { - instanceid: string, - executionid?: google_protobuf_wrappers_pb.StringValue.AsObject, - pasteventsList: Array, - neweventsList: Array, - } -} - -export class OrchestratorResponse extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): OrchestratorResponse; - clearActionsList(): void; - getActionsList(): Array; - setActionsList(value: Array): OrchestratorResponse; - addActions(value?: OrchestratorAction, index?: number): OrchestratorAction; - - hasCustomstatus(): boolean; - clearCustomstatus(): void; - getCustomstatus(): google_protobuf_wrappers_pb.StringValue | undefined; - setCustomstatus(value?: google_protobuf_wrappers_pb.StringValue): OrchestratorResponse; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): OrchestratorResponse.AsObject; - static toObject(includeInstance: boolean, msg: OrchestratorResponse): OrchestratorResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: OrchestratorResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): OrchestratorResponse; - static deserializeBinaryFromReader(message: OrchestratorResponse, reader: jspb.BinaryReader): OrchestratorResponse; -} - -export namespace OrchestratorResponse { - export type AsObject = { - instanceid: string, - actionsList: Array, - customstatus?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class CreateInstanceRequest extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): CreateInstanceRequest; - getName(): string; - setName(value: string): CreateInstanceRequest; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): CreateInstanceRequest; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): CreateInstanceRequest; - - hasScheduledstarttimestamp(): boolean; - clearScheduledstarttimestamp(): void; - getScheduledstarttimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; - setScheduledstarttimestamp(value?: google_protobuf_timestamp_pb.Timestamp): CreateInstanceRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CreateInstanceRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateInstanceRequest): CreateInstanceRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateInstanceRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CreateInstanceRequest; - static deserializeBinaryFromReader(message: CreateInstanceRequest, reader: jspb.BinaryReader): CreateInstanceRequest; -} - -export namespace CreateInstanceRequest { - export type AsObject = { - instanceid: string, - name: string, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - scheduledstarttimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, - } -} - -export class CreateInstanceResponse extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): CreateInstanceResponse; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CreateInstanceResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateInstanceResponse): CreateInstanceResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateInstanceResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CreateInstanceResponse; - static deserializeBinaryFromReader(message: CreateInstanceResponse, reader: jspb.BinaryReader): CreateInstanceResponse; -} - -export namespace CreateInstanceResponse { - export type AsObject = { - instanceid: string, - } -} - -export class GetInstanceRequest extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): GetInstanceRequest; - getGetinputsandoutputs(): boolean; - setGetinputsandoutputs(value: boolean): GetInstanceRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): GetInstanceRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetInstanceRequest): GetInstanceRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetInstanceRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): GetInstanceRequest; - static deserializeBinaryFromReader(message: GetInstanceRequest, reader: jspb.BinaryReader): GetInstanceRequest; -} - -export namespace GetInstanceRequest { - export type AsObject = { - instanceid: string, - getinputsandoutputs: boolean, - } -} - -export class GetInstanceResponse extends jspb.Message { - getExists(): boolean; - setExists(value: boolean): GetInstanceResponse; - - hasOrchestrationstate(): boolean; - clearOrchestrationstate(): void; - getOrchestrationstate(): OrchestrationState | undefined; - setOrchestrationstate(value?: OrchestrationState): GetInstanceResponse; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): GetInstanceResponse.AsObject; - static toObject(includeInstance: boolean, msg: GetInstanceResponse): GetInstanceResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetInstanceResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): GetInstanceResponse; - static deserializeBinaryFromReader(message: GetInstanceResponse, reader: jspb.BinaryReader): GetInstanceResponse; -} - -export namespace GetInstanceResponse { - export type AsObject = { - exists: boolean, - orchestrationstate?: OrchestrationState.AsObject, - } -} - -export class RewindInstanceRequest extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): RewindInstanceRequest; - - hasReason(): boolean; - clearReason(): void; - getReason(): google_protobuf_wrappers_pb.StringValue | undefined; - setReason(value?: google_protobuf_wrappers_pb.StringValue): RewindInstanceRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): RewindInstanceRequest.AsObject; - static toObject(includeInstance: boolean, msg: RewindInstanceRequest): RewindInstanceRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: RewindInstanceRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): RewindInstanceRequest; - static deserializeBinaryFromReader(message: RewindInstanceRequest, reader: jspb.BinaryReader): RewindInstanceRequest; -} - -export namespace RewindInstanceRequest { - export type AsObject = { - instanceid: string, - reason?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class RewindInstanceResponse extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): RewindInstanceResponse.AsObject; - static toObject(includeInstance: boolean, msg: RewindInstanceResponse): RewindInstanceResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: RewindInstanceResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): RewindInstanceResponse; - static deserializeBinaryFromReader(message: RewindInstanceResponse, reader: jspb.BinaryReader): RewindInstanceResponse; -} - -export namespace RewindInstanceResponse { - export type AsObject = { - } -} - -export class OrchestrationState extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): OrchestrationState; - getName(): string; - setName(value: string): OrchestrationState; - - hasVersion(): boolean; - clearVersion(): void; - getVersion(): google_protobuf_wrappers_pb.StringValue | undefined; - setVersion(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; - getOrchestrationstatus(): OrchestrationStatus; - setOrchestrationstatus(value: OrchestrationStatus): OrchestrationState; - - hasScheduledstarttimestamp(): boolean; - clearScheduledstarttimestamp(): void; - getScheduledstarttimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; - setScheduledstarttimestamp(value?: google_protobuf_timestamp_pb.Timestamp): OrchestrationState; - - hasCreatedtimestamp(): boolean; - clearCreatedtimestamp(): void; - getCreatedtimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; - setCreatedtimestamp(value?: google_protobuf_timestamp_pb.Timestamp): OrchestrationState; - - hasLastupdatedtimestamp(): boolean; - clearLastupdatedtimestamp(): void; - getLastupdatedtimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined; - setLastupdatedtimestamp(value?: google_protobuf_timestamp_pb.Timestamp): OrchestrationState; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; - - hasOutput(): boolean; - clearOutput(): void; - getOutput(): google_protobuf_wrappers_pb.StringValue | undefined; - setOutput(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; - - hasCustomstatus(): boolean; - clearCustomstatus(): void; - getCustomstatus(): google_protobuf_wrappers_pb.StringValue | undefined; - setCustomstatus(value?: google_protobuf_wrappers_pb.StringValue): OrchestrationState; - - hasFailuredetails(): boolean; - clearFailuredetails(): void; - getFailuredetails(): TaskFailureDetails | undefined; - setFailuredetails(value?: TaskFailureDetails): OrchestrationState; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): OrchestrationState.AsObject; - static toObject(includeInstance: boolean, msg: OrchestrationState): OrchestrationState.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: OrchestrationState, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): OrchestrationState; - static deserializeBinaryFromReader(message: OrchestrationState, reader: jspb.BinaryReader): OrchestrationState; -} - -export namespace OrchestrationState { - export type AsObject = { - instanceid: string, - name: string, - version?: google_protobuf_wrappers_pb.StringValue.AsObject, - orchestrationstatus: OrchestrationStatus, - scheduledstarttimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, - createdtimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, - lastupdatedtimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - output?: google_protobuf_wrappers_pb.StringValue.AsObject, - customstatus?: google_protobuf_wrappers_pb.StringValue.AsObject, - failuredetails?: TaskFailureDetails.AsObject, - } -} - -export class RaiseEventRequest extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): RaiseEventRequest; - getName(): string; - setName(value: string): RaiseEventRequest; - - hasInput(): boolean; - clearInput(): void; - getInput(): google_protobuf_wrappers_pb.StringValue | undefined; - setInput(value?: google_protobuf_wrappers_pb.StringValue): RaiseEventRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): RaiseEventRequest.AsObject; - static toObject(includeInstance: boolean, msg: RaiseEventRequest): RaiseEventRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: RaiseEventRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): RaiseEventRequest; - static deserializeBinaryFromReader(message: RaiseEventRequest, reader: jspb.BinaryReader): RaiseEventRequest; -} - -export namespace RaiseEventRequest { - export type AsObject = { - instanceid: string, - name: string, - input?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class RaiseEventResponse extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): RaiseEventResponse.AsObject; - static toObject(includeInstance: boolean, msg: RaiseEventResponse): RaiseEventResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: RaiseEventResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): RaiseEventResponse; - static deserializeBinaryFromReader(message: RaiseEventResponse, reader: jspb.BinaryReader): RaiseEventResponse; -} - -export namespace RaiseEventResponse { - export type AsObject = { - } -} - -export class TerminateRequest extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): TerminateRequest; - - hasOutput(): boolean; - clearOutput(): void; - getOutput(): google_protobuf_wrappers_pb.StringValue | undefined; - setOutput(value?: google_protobuf_wrappers_pb.StringValue): TerminateRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): TerminateRequest.AsObject; - static toObject(includeInstance: boolean, msg: TerminateRequest): TerminateRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: TerminateRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): TerminateRequest; - static deserializeBinaryFromReader(message: TerminateRequest, reader: jspb.BinaryReader): TerminateRequest; -} - -export namespace TerminateRequest { - export type AsObject = { - instanceid: string, - output?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class TerminateResponse extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): TerminateResponse.AsObject; - static toObject(includeInstance: boolean, msg: TerminateResponse): TerminateResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: TerminateResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): TerminateResponse; - static deserializeBinaryFromReader(message: TerminateResponse, reader: jspb.BinaryReader): TerminateResponse; -} - -export namespace TerminateResponse { - export type AsObject = { - } -} - -export class SuspendRequest extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): SuspendRequest; - - hasReason(): boolean; - clearReason(): void; - getReason(): google_protobuf_wrappers_pb.StringValue | undefined; - setReason(value?: google_protobuf_wrappers_pb.StringValue): SuspendRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SuspendRequest.AsObject; - static toObject(includeInstance: boolean, msg: SuspendRequest): SuspendRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SuspendRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SuspendRequest; - static deserializeBinaryFromReader(message: SuspendRequest, reader: jspb.BinaryReader): SuspendRequest; -} - -export namespace SuspendRequest { - export type AsObject = { - instanceid: string, - reason?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class SuspendResponse extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): SuspendResponse.AsObject; - static toObject(includeInstance: boolean, msg: SuspendResponse): SuspendResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: SuspendResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): SuspendResponse; - static deserializeBinaryFromReader(message: SuspendResponse, reader: jspb.BinaryReader): SuspendResponse; -} - -export namespace SuspendResponse { - export type AsObject = { - } -} - -export class ResumeRequest extends jspb.Message { - getInstanceid(): string; - setInstanceid(value: string): ResumeRequest; - - hasReason(): boolean; - clearReason(): void; - getReason(): google_protobuf_wrappers_pb.StringValue | undefined; - setReason(value?: google_protobuf_wrappers_pb.StringValue): ResumeRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ResumeRequest.AsObject; - static toObject(includeInstance: boolean, msg: ResumeRequest): ResumeRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ResumeRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ResumeRequest; - static deserializeBinaryFromReader(message: ResumeRequest, reader: jspb.BinaryReader): ResumeRequest; -} - -export namespace ResumeRequest { - export type AsObject = { - instanceid: string, - reason?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class ResumeResponse extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): ResumeResponse.AsObject; - static toObject(includeInstance: boolean, msg: ResumeResponse): ResumeResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: ResumeResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): ResumeResponse; - static deserializeBinaryFromReader(message: ResumeResponse, reader: jspb.BinaryReader): ResumeResponse; -} - -export namespace ResumeResponse { - export type AsObject = { - } -} - -export class QueryInstancesRequest extends jspb.Message { - - hasQuery(): boolean; - clearQuery(): void; - getQuery(): InstanceQuery | undefined; - setQuery(value?: InstanceQuery): QueryInstancesRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): QueryInstancesRequest.AsObject; - static toObject(includeInstance: boolean, msg: QueryInstancesRequest): QueryInstancesRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: QueryInstancesRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): QueryInstancesRequest; - static deserializeBinaryFromReader(message: QueryInstancesRequest, reader: jspb.BinaryReader): QueryInstancesRequest; -} - -export namespace QueryInstancesRequest { - export type AsObject = { - query?: InstanceQuery.AsObject, - } -} - -export class InstanceQuery extends jspb.Message { - clearRuntimestatusList(): void; - getRuntimestatusList(): Array; - setRuntimestatusList(value: Array): InstanceQuery; - addRuntimestatus(value: OrchestrationStatus, index?: number): OrchestrationStatus; - - hasCreatedtimefrom(): boolean; - clearCreatedtimefrom(): void; - getCreatedtimefrom(): google_protobuf_timestamp_pb.Timestamp | undefined; - setCreatedtimefrom(value?: google_protobuf_timestamp_pb.Timestamp): InstanceQuery; - - hasCreatedtimeto(): boolean; - clearCreatedtimeto(): void; - getCreatedtimeto(): google_protobuf_timestamp_pb.Timestamp | undefined; - setCreatedtimeto(value?: google_protobuf_timestamp_pb.Timestamp): InstanceQuery; - clearTaskhubnamesList(): void; - getTaskhubnamesList(): Array; - setTaskhubnamesList(value: Array): InstanceQuery; - addTaskhubnames(value?: google_protobuf_wrappers_pb.StringValue, index?: number): google_protobuf_wrappers_pb.StringValue; - getMaxinstancecount(): number; - setMaxinstancecount(value: number): InstanceQuery; - - hasContinuationtoken(): boolean; - clearContinuationtoken(): void; - getContinuationtoken(): google_protobuf_wrappers_pb.StringValue | undefined; - setContinuationtoken(value?: google_protobuf_wrappers_pb.StringValue): InstanceQuery; - - hasInstanceidprefix(): boolean; - clearInstanceidprefix(): void; - getInstanceidprefix(): google_protobuf_wrappers_pb.StringValue | undefined; - setInstanceidprefix(value?: google_protobuf_wrappers_pb.StringValue): InstanceQuery; - getFetchinputsandoutputs(): boolean; - setFetchinputsandoutputs(value: boolean): InstanceQuery; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): InstanceQuery.AsObject; - static toObject(includeInstance: boolean, msg: InstanceQuery): InstanceQuery.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: InstanceQuery, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): InstanceQuery; - static deserializeBinaryFromReader(message: InstanceQuery, reader: jspb.BinaryReader): InstanceQuery; -} - -export namespace InstanceQuery { - export type AsObject = { - runtimestatusList: Array, - createdtimefrom?: google_protobuf_timestamp_pb.Timestamp.AsObject, - createdtimeto?: google_protobuf_timestamp_pb.Timestamp.AsObject, - taskhubnamesList: Array, - maxinstancecount: number, - continuationtoken?: google_protobuf_wrappers_pb.StringValue.AsObject, - instanceidprefix?: google_protobuf_wrappers_pb.StringValue.AsObject, - fetchinputsandoutputs: boolean, - } -} - -export class QueryInstancesResponse extends jspb.Message { - clearOrchestrationstateList(): void; - getOrchestrationstateList(): Array; - setOrchestrationstateList(value: Array): QueryInstancesResponse; - addOrchestrationstate(value?: OrchestrationState, index?: number): OrchestrationState; - - hasContinuationtoken(): boolean; - clearContinuationtoken(): void; - getContinuationtoken(): google_protobuf_wrappers_pb.StringValue | undefined; - setContinuationtoken(value?: google_protobuf_wrappers_pb.StringValue): QueryInstancesResponse; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): QueryInstancesResponse.AsObject; - static toObject(includeInstance: boolean, msg: QueryInstancesResponse): QueryInstancesResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: QueryInstancesResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): QueryInstancesResponse; - static deserializeBinaryFromReader(message: QueryInstancesResponse, reader: jspb.BinaryReader): QueryInstancesResponse; -} - -export namespace QueryInstancesResponse { - export type AsObject = { - orchestrationstateList: Array, - continuationtoken?: google_protobuf_wrappers_pb.StringValue.AsObject, - } -} - -export class PurgeInstancesRequest extends jspb.Message { - - hasInstanceid(): boolean; - clearInstanceid(): void; - getInstanceid(): string; - setInstanceid(value: string): PurgeInstancesRequest; - - hasPurgeinstancefilter(): boolean; - clearPurgeinstancefilter(): void; - getPurgeinstancefilter(): PurgeInstanceFilter | undefined; - setPurgeinstancefilter(value?: PurgeInstanceFilter): PurgeInstancesRequest; - - getRequestCase(): PurgeInstancesRequest.RequestCase; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PurgeInstancesRequest.AsObject; - static toObject(includeInstance: boolean, msg: PurgeInstancesRequest): PurgeInstancesRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PurgeInstancesRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PurgeInstancesRequest; - static deserializeBinaryFromReader(message: PurgeInstancesRequest, reader: jspb.BinaryReader): PurgeInstancesRequest; -} - -export namespace PurgeInstancesRequest { - export type AsObject = { - instanceid: string, - purgeinstancefilter?: PurgeInstanceFilter.AsObject, - } - - export enum RequestCase { - REQUEST_NOT_SET = 0, - INSTANCEID = 1, - PURGEINSTANCEFILTER = 2, - } - -} - -export class PurgeInstanceFilter extends jspb.Message { - - hasCreatedtimefrom(): boolean; - clearCreatedtimefrom(): void; - getCreatedtimefrom(): google_protobuf_timestamp_pb.Timestamp | undefined; - setCreatedtimefrom(value?: google_protobuf_timestamp_pb.Timestamp): PurgeInstanceFilter; - - hasCreatedtimeto(): boolean; - clearCreatedtimeto(): void; - getCreatedtimeto(): google_protobuf_timestamp_pb.Timestamp | undefined; - setCreatedtimeto(value?: google_protobuf_timestamp_pb.Timestamp): PurgeInstanceFilter; - clearRuntimestatusList(): void; - getRuntimestatusList(): Array; - setRuntimestatusList(value: Array): PurgeInstanceFilter; - addRuntimestatus(value: OrchestrationStatus, index?: number): OrchestrationStatus; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PurgeInstanceFilter.AsObject; - static toObject(includeInstance: boolean, msg: PurgeInstanceFilter): PurgeInstanceFilter.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PurgeInstanceFilter, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PurgeInstanceFilter; - static deserializeBinaryFromReader(message: PurgeInstanceFilter, reader: jspb.BinaryReader): PurgeInstanceFilter; -} - -export namespace PurgeInstanceFilter { - export type AsObject = { - createdtimefrom?: google_protobuf_timestamp_pb.Timestamp.AsObject, - createdtimeto?: google_protobuf_timestamp_pb.Timestamp.AsObject, - runtimestatusList: Array, - } -} - -export class PurgeInstancesResponse extends jspb.Message { - getDeletedinstancecount(): number; - setDeletedinstancecount(value: number): PurgeInstancesResponse; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): PurgeInstancesResponse.AsObject; - static toObject(includeInstance: boolean, msg: PurgeInstancesResponse): PurgeInstancesResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: PurgeInstancesResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): PurgeInstancesResponse; - static deserializeBinaryFromReader(message: PurgeInstancesResponse, reader: jspb.BinaryReader): PurgeInstancesResponse; -} - -export namespace PurgeInstancesResponse { - export type AsObject = { - deletedinstancecount: number, - } -} - -export class CreateTaskHubRequest extends jspb.Message { - getRecreateifexists(): boolean; - setRecreateifexists(value: boolean): CreateTaskHubRequest; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CreateTaskHubRequest.AsObject; - static toObject(includeInstance: boolean, msg: CreateTaskHubRequest): CreateTaskHubRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateTaskHubRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CreateTaskHubRequest; - static deserializeBinaryFromReader(message: CreateTaskHubRequest, reader: jspb.BinaryReader): CreateTaskHubRequest; -} - -export namespace CreateTaskHubRequest { - export type AsObject = { - recreateifexists: boolean, - } -} - -export class CreateTaskHubResponse extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CreateTaskHubResponse.AsObject; - static toObject(includeInstance: boolean, msg: CreateTaskHubResponse): CreateTaskHubResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CreateTaskHubResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CreateTaskHubResponse; - static deserializeBinaryFromReader(message: CreateTaskHubResponse, reader: jspb.BinaryReader): CreateTaskHubResponse; -} - -export namespace CreateTaskHubResponse { - export type AsObject = { - } -} - -export class DeleteTaskHubRequest extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): DeleteTaskHubRequest.AsObject; - static toObject(includeInstance: boolean, msg: DeleteTaskHubRequest): DeleteTaskHubRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteTaskHubRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): DeleteTaskHubRequest; - static deserializeBinaryFromReader(message: DeleteTaskHubRequest, reader: jspb.BinaryReader): DeleteTaskHubRequest; -} - -export namespace DeleteTaskHubRequest { - export type AsObject = { - } -} - -export class DeleteTaskHubResponse extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): DeleteTaskHubResponse.AsObject; - static toObject(includeInstance: boolean, msg: DeleteTaskHubResponse): DeleteTaskHubResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: DeleteTaskHubResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): DeleteTaskHubResponse; - static deserializeBinaryFromReader(message: DeleteTaskHubResponse, reader: jspb.BinaryReader): DeleteTaskHubResponse; -} - -export namespace DeleteTaskHubResponse { - export type AsObject = { - } -} - -export class GetWorkItemsRequest extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): GetWorkItemsRequest.AsObject; - static toObject(includeInstance: boolean, msg: GetWorkItemsRequest): GetWorkItemsRequest.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: GetWorkItemsRequest, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): GetWorkItemsRequest; - static deserializeBinaryFromReader(message: GetWorkItemsRequest, reader: jspb.BinaryReader): GetWorkItemsRequest; -} - -export namespace GetWorkItemsRequest { - export type AsObject = { - } -} - -export class WorkItem extends jspb.Message { - - hasOrchestratorrequest(): boolean; - clearOrchestratorrequest(): void; - getOrchestratorrequest(): OrchestratorRequest | undefined; - setOrchestratorrequest(value?: OrchestratorRequest): WorkItem; - - hasActivityrequest(): boolean; - clearActivityrequest(): void; - getActivityrequest(): ActivityRequest | undefined; - setActivityrequest(value?: ActivityRequest): WorkItem; - - getRequestCase(): WorkItem.RequestCase; - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): WorkItem.AsObject; - static toObject(includeInstance: boolean, msg: WorkItem): WorkItem.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: WorkItem, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): WorkItem; - static deserializeBinaryFromReader(message: WorkItem, reader: jspb.BinaryReader): WorkItem; -} - -export namespace WorkItem { - export type AsObject = { - orchestratorrequest?: OrchestratorRequest.AsObject, - activityrequest?: ActivityRequest.AsObject, - } - - export enum RequestCase { - REQUEST_NOT_SET = 0, - ORCHESTRATORREQUEST = 1, - ACTIVITYREQUEST = 2, - } - -} - -export class CompleteTaskResponse extends jspb.Message { - - serializeBinary(): Uint8Array; - toObject(includeInstance?: boolean): CompleteTaskResponse.AsObject; - static toObject(includeInstance: boolean, msg: CompleteTaskResponse): CompleteTaskResponse.AsObject; - static extensions: {[key: number]: jspb.ExtensionFieldInfo}; - static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; - static serializeBinaryToWriter(message: CompleteTaskResponse, writer: jspb.BinaryWriter): void; - static deserializeBinary(bytes: Uint8Array): CompleteTaskResponse; - static deserializeBinaryFromReader(message: CompleteTaskResponse, reader: jspb.BinaryReader): CompleteTaskResponse; -} - -export namespace CompleteTaskResponse { - export type AsObject = { - } -} - -export enum OrchestrationStatus { - ORCHESTRATION_STATUS_RUNNING = 0, - ORCHESTRATION_STATUS_COMPLETED = 1, - ORCHESTRATION_STATUS_CONTINUED_AS_NEW = 2, - ORCHESTRATION_STATUS_FAILED = 3, - ORCHESTRATION_STATUS_CANCELED = 4, - ORCHESTRATION_STATUS_TERMINATED = 5, - ORCHESTRATION_STATUS_PENDING = 6, - ORCHESTRATION_STATUS_SUSPENDED = 7, -} diff --git a/src/proto/orchestrator_service_pb.js b/src/proto/orchestrator_service_pb.js deleted file mode 100644 index 68163dd..0000000 --- a/src/proto/orchestrator_service_pb.js +++ /dev/null @@ -1,15037 +0,0 @@ -// source: orchestrator_service.proto -/** - * @fileoverview - * @enhanceable - * @suppress {missingRequire} reports error on implicit type usages. - * @suppress {messageConventions} JS Compiler reports an error if a variable or - * field starts with 'MSG_' and isn't a translatable message. - * @public - */ -// GENERATED CODE -- DO NOT EDIT! -/* eslint-disable */ -// @ts-nocheck - -var jspb = require('google-protobuf'); -var goog = jspb; -var global = Function('return this')(); - -var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js'); -goog.object.extend(proto, google_protobuf_timestamp_pb); -var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js'); -goog.object.extend(proto, google_protobuf_wrappers_pb); -var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js'); -goog.object.extend(proto, google_protobuf_empty_pb); -goog.exportSymbol('proto.ActivityRequest', null, global); -goog.exportSymbol('proto.ActivityResponse', null, global); -goog.exportSymbol('proto.CompleteOrchestrationAction', null, global); -goog.exportSymbol('proto.CompleteTaskResponse', null, global); -goog.exportSymbol('proto.ContinueAsNewEvent', null, global); -goog.exportSymbol('proto.CreateInstanceRequest', null, global); -goog.exportSymbol('proto.CreateInstanceResponse', null, global); -goog.exportSymbol('proto.CreateSubOrchestrationAction', null, global); -goog.exportSymbol('proto.CreateTaskHubRequest', null, global); -goog.exportSymbol('proto.CreateTaskHubResponse', null, global); -goog.exportSymbol('proto.CreateTimerAction', null, global); -goog.exportSymbol('proto.DeleteTaskHubRequest', null, global); -goog.exportSymbol('proto.DeleteTaskHubResponse', null, global); -goog.exportSymbol('proto.EventRaisedEvent', null, global); -goog.exportSymbol('proto.EventSentEvent', null, global); -goog.exportSymbol('proto.ExecutionCompletedEvent', null, global); -goog.exportSymbol('proto.ExecutionResumedEvent', null, global); -goog.exportSymbol('proto.ExecutionStartedEvent', null, global); -goog.exportSymbol('proto.ExecutionSuspendedEvent', null, global); -goog.exportSymbol('proto.ExecutionTerminatedEvent', null, global); -goog.exportSymbol('proto.GenericEvent', null, global); -goog.exportSymbol('proto.GetInstanceRequest', null, global); -goog.exportSymbol('proto.GetInstanceResponse', null, global); -goog.exportSymbol('proto.GetWorkItemsRequest', null, global); -goog.exportSymbol('proto.HistoryEvent', null, global); -goog.exportSymbol('proto.HistoryEvent.EventtypeCase', null, global); -goog.exportSymbol('proto.HistoryStateEvent', null, global); -goog.exportSymbol('proto.InstanceQuery', null, global); -goog.exportSymbol('proto.OrchestrationInstance', null, global); -goog.exportSymbol('proto.OrchestrationState', null, global); -goog.exportSymbol('proto.OrchestrationStatus', null, global); -goog.exportSymbol('proto.OrchestratorAction', null, global); -goog.exportSymbol('proto.OrchestratorAction.OrchestratoractiontypeCase', null, global); -goog.exportSymbol('proto.OrchestratorCompletedEvent', null, global); -goog.exportSymbol('proto.OrchestratorRequest', null, global); -goog.exportSymbol('proto.OrchestratorResponse', null, global); -goog.exportSymbol('proto.OrchestratorStartedEvent', null, global); -goog.exportSymbol('proto.ParentInstanceInfo', null, global); -goog.exportSymbol('proto.PurgeInstanceFilter', null, global); -goog.exportSymbol('proto.PurgeInstancesRequest', null, global); -goog.exportSymbol('proto.PurgeInstancesRequest.RequestCase', null, global); -goog.exportSymbol('proto.PurgeInstancesResponse', null, global); -goog.exportSymbol('proto.QueryInstancesRequest', null, global); -goog.exportSymbol('proto.QueryInstancesResponse', null, global); -goog.exportSymbol('proto.RaiseEventRequest', null, global); -goog.exportSymbol('proto.RaiseEventResponse', null, global); -goog.exportSymbol('proto.ResumeRequest', null, global); -goog.exportSymbol('proto.ResumeResponse', null, global); -goog.exportSymbol('proto.RewindInstanceRequest', null, global); -goog.exportSymbol('proto.RewindInstanceResponse', null, global); -goog.exportSymbol('proto.ScheduleTaskAction', null, global); -goog.exportSymbol('proto.SendEventAction', null, global); -goog.exportSymbol('proto.SubOrchestrationInstanceCompletedEvent', null, global); -goog.exportSymbol('proto.SubOrchestrationInstanceCreatedEvent', null, global); -goog.exportSymbol('proto.SubOrchestrationInstanceFailedEvent', null, global); -goog.exportSymbol('proto.SuspendRequest', null, global); -goog.exportSymbol('proto.SuspendResponse', null, global); -goog.exportSymbol('proto.TaskCompletedEvent', null, global); -goog.exportSymbol('proto.TaskFailedEvent', null, global); -goog.exportSymbol('proto.TaskFailureDetails', null, global); -goog.exportSymbol('proto.TaskScheduledEvent', null, global); -goog.exportSymbol('proto.TerminateRequest', null, global); -goog.exportSymbol('proto.TerminateResponse', null, global); -goog.exportSymbol('proto.TimerCreatedEvent', null, global); -goog.exportSymbol('proto.TimerFiredEvent', null, global); -goog.exportSymbol('proto.WorkItem', null, global); -goog.exportSymbol('proto.WorkItem.RequestCase', null, global); -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.OrchestrationInstance = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.OrchestrationInstance, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.OrchestrationInstance.displayName = 'proto.OrchestrationInstance'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ActivityRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ActivityRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ActivityRequest.displayName = 'proto.ActivityRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ActivityResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ActivityResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ActivityResponse.displayName = 'proto.ActivityResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.TaskFailureDetails = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.TaskFailureDetails, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.TaskFailureDetails.displayName = 'proto.TaskFailureDetails'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ParentInstanceInfo = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ParentInstanceInfo, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ParentInstanceInfo.displayName = 'proto.ParentInstanceInfo'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ExecutionStartedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ExecutionStartedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ExecutionStartedEvent.displayName = 'proto.ExecutionStartedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ExecutionCompletedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ExecutionCompletedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ExecutionCompletedEvent.displayName = 'proto.ExecutionCompletedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ExecutionTerminatedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ExecutionTerminatedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ExecutionTerminatedEvent.displayName = 'proto.ExecutionTerminatedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.TaskScheduledEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.TaskScheduledEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.TaskScheduledEvent.displayName = 'proto.TaskScheduledEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.TaskCompletedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.TaskCompletedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.TaskCompletedEvent.displayName = 'proto.TaskCompletedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.TaskFailedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.TaskFailedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.TaskFailedEvent.displayName = 'proto.TaskFailedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.SubOrchestrationInstanceCreatedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.SubOrchestrationInstanceCreatedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.SubOrchestrationInstanceCreatedEvent.displayName = 'proto.SubOrchestrationInstanceCreatedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.SubOrchestrationInstanceCompletedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.SubOrchestrationInstanceCompletedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.SubOrchestrationInstanceCompletedEvent.displayName = 'proto.SubOrchestrationInstanceCompletedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.SubOrchestrationInstanceFailedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.SubOrchestrationInstanceFailedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.SubOrchestrationInstanceFailedEvent.displayName = 'proto.SubOrchestrationInstanceFailedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.TimerCreatedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.TimerCreatedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.TimerCreatedEvent.displayName = 'proto.TimerCreatedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.TimerFiredEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.TimerFiredEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.TimerFiredEvent.displayName = 'proto.TimerFiredEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.OrchestratorStartedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.OrchestratorStartedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.OrchestratorStartedEvent.displayName = 'proto.OrchestratorStartedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.OrchestratorCompletedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.OrchestratorCompletedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.OrchestratorCompletedEvent.displayName = 'proto.OrchestratorCompletedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.EventSentEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.EventSentEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.EventSentEvent.displayName = 'proto.EventSentEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.EventRaisedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.EventRaisedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.EventRaisedEvent.displayName = 'proto.EventRaisedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.GenericEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.GenericEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.GenericEvent.displayName = 'proto.GenericEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.HistoryStateEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.HistoryStateEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.HistoryStateEvent.displayName = 'proto.HistoryStateEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ContinueAsNewEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ContinueAsNewEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ContinueAsNewEvent.displayName = 'proto.ContinueAsNewEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ExecutionSuspendedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ExecutionSuspendedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ExecutionSuspendedEvent.displayName = 'proto.ExecutionSuspendedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ExecutionResumedEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ExecutionResumedEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ExecutionResumedEvent.displayName = 'proto.ExecutionResumedEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.HistoryEvent = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.HistoryEvent.oneofGroups_); -}; -goog.inherits(proto.HistoryEvent, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.HistoryEvent.displayName = 'proto.HistoryEvent'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ScheduleTaskAction = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ScheduleTaskAction, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ScheduleTaskAction.displayName = 'proto.ScheduleTaskAction'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.CreateSubOrchestrationAction = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.CreateSubOrchestrationAction, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.CreateSubOrchestrationAction.displayName = 'proto.CreateSubOrchestrationAction'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.CreateTimerAction = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.CreateTimerAction, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.CreateTimerAction.displayName = 'proto.CreateTimerAction'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.SendEventAction = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.SendEventAction, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.SendEventAction.displayName = 'proto.SendEventAction'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.CompleteOrchestrationAction = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.CompleteOrchestrationAction.repeatedFields_, null); -}; -goog.inherits(proto.CompleteOrchestrationAction, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.CompleteOrchestrationAction.displayName = 'proto.CompleteOrchestrationAction'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.OrchestratorAction = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.OrchestratorAction.oneofGroups_); -}; -goog.inherits(proto.OrchestratorAction, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.OrchestratorAction.displayName = 'proto.OrchestratorAction'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.OrchestratorRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.OrchestratorRequest.repeatedFields_, null); -}; -goog.inherits(proto.OrchestratorRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.OrchestratorRequest.displayName = 'proto.OrchestratorRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.OrchestratorResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.OrchestratorResponse.repeatedFields_, null); -}; -goog.inherits(proto.OrchestratorResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.OrchestratorResponse.displayName = 'proto.OrchestratorResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.CreateInstanceRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.CreateInstanceRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.CreateInstanceRequest.displayName = 'proto.CreateInstanceRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.CreateInstanceResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.CreateInstanceResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.CreateInstanceResponse.displayName = 'proto.CreateInstanceResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.GetInstanceRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.GetInstanceRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.GetInstanceRequest.displayName = 'proto.GetInstanceRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.GetInstanceResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.GetInstanceResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.GetInstanceResponse.displayName = 'proto.GetInstanceResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.RewindInstanceRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.RewindInstanceRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.RewindInstanceRequest.displayName = 'proto.RewindInstanceRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.RewindInstanceResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.RewindInstanceResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.RewindInstanceResponse.displayName = 'proto.RewindInstanceResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.OrchestrationState = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.OrchestrationState, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.OrchestrationState.displayName = 'proto.OrchestrationState'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.RaiseEventRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.RaiseEventRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.RaiseEventRequest.displayName = 'proto.RaiseEventRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.RaiseEventResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.RaiseEventResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.RaiseEventResponse.displayName = 'proto.RaiseEventResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.TerminateRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.TerminateRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.TerminateRequest.displayName = 'proto.TerminateRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.TerminateResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.TerminateResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.TerminateResponse.displayName = 'proto.TerminateResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.SuspendRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.SuspendRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.SuspendRequest.displayName = 'proto.SuspendRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.SuspendResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.SuspendResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.SuspendResponse.displayName = 'proto.SuspendResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ResumeRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ResumeRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ResumeRequest.displayName = 'proto.ResumeRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.ResumeResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.ResumeResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.ResumeResponse.displayName = 'proto.ResumeResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.QueryInstancesRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.QueryInstancesRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.QueryInstancesRequest.displayName = 'proto.QueryInstancesRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.InstanceQuery = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.InstanceQuery.repeatedFields_, null); -}; -goog.inherits(proto.InstanceQuery, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.InstanceQuery.displayName = 'proto.InstanceQuery'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.QueryInstancesResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.QueryInstancesResponse.repeatedFields_, null); -}; -goog.inherits(proto.QueryInstancesResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.QueryInstancesResponse.displayName = 'proto.QueryInstancesResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PurgeInstancesRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.PurgeInstancesRequest.oneofGroups_); -}; -goog.inherits(proto.PurgeInstancesRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PurgeInstancesRequest.displayName = 'proto.PurgeInstancesRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PurgeInstanceFilter = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, proto.PurgeInstanceFilter.repeatedFields_, null); -}; -goog.inherits(proto.PurgeInstanceFilter, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PurgeInstanceFilter.displayName = 'proto.PurgeInstanceFilter'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.PurgeInstancesResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.PurgeInstancesResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.PurgeInstancesResponse.displayName = 'proto.PurgeInstancesResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.CreateTaskHubRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.CreateTaskHubRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.CreateTaskHubRequest.displayName = 'proto.CreateTaskHubRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.CreateTaskHubResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.CreateTaskHubResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.CreateTaskHubResponse.displayName = 'proto.CreateTaskHubResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.DeleteTaskHubRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.DeleteTaskHubRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.DeleteTaskHubRequest.displayName = 'proto.DeleteTaskHubRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.DeleteTaskHubResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.DeleteTaskHubResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.DeleteTaskHubResponse.displayName = 'proto.DeleteTaskHubResponse'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.GetWorkItemsRequest = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.GetWorkItemsRequest, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.GetWorkItemsRequest.displayName = 'proto.GetWorkItemsRequest'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.WorkItem = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, proto.WorkItem.oneofGroups_); -}; -goog.inherits(proto.WorkItem, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.WorkItem.displayName = 'proto.WorkItem'; -} -/** - * Generated by JsPbCodeGenerator. - * @param {Array=} opt_data Optional initial data array, typically from a - * server response, or constructed directly in Javascript. The array is used - * in place and becomes part of the constructed object. It is not cloned. - * If no data is provided, the constructed object will be empty, but still - * valid. - * @extends {jspb.Message} - * @constructor - */ -proto.CompleteTaskResponse = function(opt_data) { - jspb.Message.initialize(this, opt_data, 0, -1, null, null); -}; -goog.inherits(proto.CompleteTaskResponse, jspb.Message); -if (goog.DEBUG && !COMPILED) { - /** - * @public - * @override - */ - proto.CompleteTaskResponse.displayName = 'proto.CompleteTaskResponse'; -} - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.OrchestrationInstance.prototype.toObject = function(opt_includeInstance) { - return proto.OrchestrationInstance.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.OrchestrationInstance} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestrationInstance.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - executionid: (f = msg.getExecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.OrchestrationInstance} - */ -proto.OrchestrationInstance.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.OrchestrationInstance; - return proto.OrchestrationInstance.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.OrchestrationInstance} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.OrchestrationInstance} - */ -proto.OrchestrationInstance.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setExecutionid(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.OrchestrationInstance.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.OrchestrationInstance.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.OrchestrationInstance} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestrationInstance.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getExecutionid(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.OrchestrationInstance.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.OrchestrationInstance} returns this - */ -proto.OrchestrationInstance.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue executionId = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.OrchestrationInstance.prototype.getExecutionid = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.OrchestrationInstance} returns this -*/ -proto.OrchestrationInstance.prototype.setExecutionid = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationInstance} returns this - */ -proto.OrchestrationInstance.prototype.clearExecutionid = function() { - return this.setExecutionid(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationInstance.prototype.hasExecutionid = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ActivityRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ActivityRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ActivityRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ActivityRequest.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - orchestrationinstance: (f = msg.getOrchestrationinstance()) && proto.OrchestrationInstance.toObject(includeInstance, f), - taskid: jspb.Message.getFieldWithDefault(msg, 5, 0) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ActivityRequest} - */ -proto.ActivityRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ActivityRequest; - return proto.ActivityRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ActivityRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ActivityRequest} - */ -proto.ActivityRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - case 4: - var value = new proto.OrchestrationInstance; - reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); - msg.setOrchestrationinstance(value); - break; - case 5: - var value = /** @type {number} */ (reader.readInt32()); - msg.setTaskid(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ActivityRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ActivityRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ActivityRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ActivityRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getOrchestrationinstance(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.OrchestrationInstance.serializeBinaryToWriter - ); - } - f = message.getTaskid(); - if (f !== 0) { - writer.writeInt32( - 5, - f - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.ActivityRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ActivityRequest} returns this - */ -proto.ActivityRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue version = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ActivityRequest.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ActivityRequest} returns this -*/ -proto.ActivityRequest.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ActivityRequest} returns this - */ -proto.ActivityRequest.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ActivityRequest.prototype.hasVersion = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional google.protobuf.StringValue input = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ActivityRequest.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ActivityRequest} returns this -*/ -proto.ActivityRequest.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ActivityRequest} returns this - */ -proto.ActivityRequest.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ActivityRequest.prototype.hasInput = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional OrchestrationInstance orchestrationInstance = 4; - * @return {?proto.OrchestrationInstance} - */ -proto.ActivityRequest.prototype.getOrchestrationinstance = function() { - return /** @type{?proto.OrchestrationInstance} */ ( - jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 4)); -}; - - -/** - * @param {?proto.OrchestrationInstance|undefined} value - * @return {!proto.ActivityRequest} returns this -*/ -proto.ActivityRequest.prototype.setOrchestrationinstance = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ActivityRequest} returns this - */ -proto.ActivityRequest.prototype.clearOrchestrationinstance = function() { - return this.setOrchestrationinstance(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ActivityRequest.prototype.hasOrchestrationinstance = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional int32 taskId = 5; - * @return {number} - */ -proto.ActivityRequest.prototype.getTaskid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.ActivityRequest} returns this - */ -proto.ActivityRequest.prototype.setTaskid = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ActivityResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ActivityResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ActivityResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ActivityResponse.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - taskid: jspb.Message.getFieldWithDefault(msg, 2, 0), - result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ActivityResponse} - */ -proto.ActivityResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ActivityResponse; - return proto.ActivityResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ActivityResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ActivityResponse} - */ -proto.ActivityResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = /** @type {number} */ (reader.readInt32()); - msg.setTaskid(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setResult(value); - break; - case 4: - var value = new proto.TaskFailureDetails; - reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); - msg.setFailuredetails(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ActivityResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ActivityResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ActivityResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ActivityResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getTaskid(); - if (f !== 0) { - writer.writeInt32( - 2, - f - ); - } - f = message.getResult(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getFailuredetails(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.TaskFailureDetails.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.ActivityResponse.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ActivityResponse} returns this - */ -proto.ActivityResponse.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional int32 taskId = 2; - * @return {number} - */ -proto.ActivityResponse.prototype.getTaskid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.ActivityResponse} returns this - */ -proto.ActivityResponse.prototype.setTaskid = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue result = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ActivityResponse.prototype.getResult = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ActivityResponse} returns this -*/ -proto.ActivityResponse.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ActivityResponse} returns this - */ -proto.ActivityResponse.prototype.clearResult = function() { - return this.setResult(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ActivityResponse.prototype.hasResult = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional TaskFailureDetails failureDetails = 4; - * @return {?proto.TaskFailureDetails} - */ -proto.ActivityResponse.prototype.getFailuredetails = function() { - return /** @type{?proto.TaskFailureDetails} */ ( - jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 4)); -}; - - -/** - * @param {?proto.TaskFailureDetails|undefined} value - * @return {!proto.ActivityResponse} returns this -*/ -proto.ActivityResponse.prototype.setFailuredetails = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ActivityResponse} returns this - */ -proto.ActivityResponse.prototype.clearFailuredetails = function() { - return this.setFailuredetails(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ActivityResponse.prototype.hasFailuredetails = function() { - return jspb.Message.getField(this, 4) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.TaskFailureDetails.prototype.toObject = function(opt_includeInstance) { - return proto.TaskFailureDetails.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.TaskFailureDetails} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TaskFailureDetails.toObject = function(includeInstance, msg) { - var f, obj = { - errortype: jspb.Message.getFieldWithDefault(msg, 1, ""), - errormessage: jspb.Message.getFieldWithDefault(msg, 2, ""), - stacktrace: (f = msg.getStacktrace()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - innerfailure: (f = msg.getInnerfailure()) && proto.TaskFailureDetails.toObject(includeInstance, f), - isnonretriable: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.TaskFailureDetails} - */ -proto.TaskFailureDetails.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.TaskFailureDetails; - return proto.TaskFailureDetails.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.TaskFailureDetails} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.TaskFailureDetails} - */ -proto.TaskFailureDetails.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setErrortype(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setErrormessage(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setStacktrace(value); - break; - case 4: - var value = new proto.TaskFailureDetails; - reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); - msg.setInnerfailure(value); - break; - case 5: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setIsnonretriable(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.TaskFailureDetails.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.TaskFailureDetails.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.TaskFailureDetails} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TaskFailureDetails.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getErrortype(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getErrormessage(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getStacktrace(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInnerfailure(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.TaskFailureDetails.serializeBinaryToWriter - ); - } - f = message.getIsnonretriable(); - if (f) { - writer.writeBool( - 5, - f - ); - } -}; - - -/** - * optional string errorType = 1; - * @return {string} - */ -proto.TaskFailureDetails.prototype.getErrortype = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.TaskFailureDetails} returns this - */ -proto.TaskFailureDetails.prototype.setErrortype = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string errorMessage = 2; - * @return {string} - */ -proto.TaskFailureDetails.prototype.getErrormessage = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.TaskFailureDetails} returns this - */ -proto.TaskFailureDetails.prototype.setErrormessage = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue stackTrace = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.TaskFailureDetails.prototype.getStacktrace = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.TaskFailureDetails} returns this -*/ -proto.TaskFailureDetails.prototype.setStacktrace = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TaskFailureDetails} returns this - */ -proto.TaskFailureDetails.prototype.clearStacktrace = function() { - return this.setStacktrace(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TaskFailureDetails.prototype.hasStacktrace = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional TaskFailureDetails innerFailure = 4; - * @return {?proto.TaskFailureDetails} - */ -proto.TaskFailureDetails.prototype.getInnerfailure = function() { - return /** @type{?proto.TaskFailureDetails} */ ( - jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 4)); -}; - - -/** - * @param {?proto.TaskFailureDetails|undefined} value - * @return {!proto.TaskFailureDetails} returns this -*/ -proto.TaskFailureDetails.prototype.setInnerfailure = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TaskFailureDetails} returns this - */ -proto.TaskFailureDetails.prototype.clearInnerfailure = function() { - return this.setInnerfailure(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TaskFailureDetails.prototype.hasInnerfailure = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional bool isNonRetriable = 5; - * @return {boolean} - */ -proto.TaskFailureDetails.prototype.getIsnonretriable = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.TaskFailureDetails} returns this - */ -proto.TaskFailureDetails.prototype.setIsnonretriable = function(value) { - return jspb.Message.setProto3BooleanField(this, 5, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ParentInstanceInfo.prototype.toObject = function(opt_includeInstance) { - return proto.ParentInstanceInfo.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ParentInstanceInfo} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ParentInstanceInfo.toObject = function(includeInstance, msg) { - var f, obj = { - taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), - name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - orchestrationinstance: (f = msg.getOrchestrationinstance()) && proto.OrchestrationInstance.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ParentInstanceInfo} - */ -proto.ParentInstanceInfo.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ParentInstanceInfo; - return proto.ParentInstanceInfo.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ParentInstanceInfo} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ParentInstanceInfo} - */ -proto.ParentInstanceInfo.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setTaskscheduledid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setName(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 4: - var value = new proto.OrchestrationInstance; - reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); - msg.setOrchestrationinstance(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ParentInstanceInfo.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ParentInstanceInfo.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ParentInstanceInfo} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ParentInstanceInfo.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTaskscheduledid(); - if (f !== 0) { - writer.writeInt32( - 1, - f - ); - } - f = message.getName(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getOrchestrationinstance(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.OrchestrationInstance.serializeBinaryToWriter - ); - } -}; - - -/** - * optional int32 taskScheduledId = 1; - * @return {number} - */ -proto.ParentInstanceInfo.prototype.getTaskscheduledid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.ParentInstanceInfo} returns this - */ -proto.ParentInstanceInfo.prototype.setTaskscheduledid = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue name = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ParentInstanceInfo.prototype.getName = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ParentInstanceInfo} returns this -*/ -proto.ParentInstanceInfo.prototype.setName = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ParentInstanceInfo} returns this - */ -proto.ParentInstanceInfo.prototype.clearName = function() { - return this.setName(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ParentInstanceInfo.prototype.hasName = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional google.protobuf.StringValue version = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ParentInstanceInfo.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ParentInstanceInfo} returns this -*/ -proto.ParentInstanceInfo.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ParentInstanceInfo} returns this - */ -proto.ParentInstanceInfo.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ParentInstanceInfo.prototype.hasVersion = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional OrchestrationInstance orchestrationInstance = 4; - * @return {?proto.OrchestrationInstance} - */ -proto.ParentInstanceInfo.prototype.getOrchestrationinstance = function() { - return /** @type{?proto.OrchestrationInstance} */ ( - jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 4)); -}; - - -/** - * @param {?proto.OrchestrationInstance|undefined} value - * @return {!proto.ParentInstanceInfo} returns this -*/ -proto.ParentInstanceInfo.prototype.setOrchestrationinstance = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ParentInstanceInfo} returns this - */ -proto.ParentInstanceInfo.prototype.clearOrchestrationinstance = function() { - return this.setOrchestrationinstance(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ParentInstanceInfo.prototype.hasOrchestrationinstance = function() { - return jspb.Message.getField(this, 4) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ExecutionStartedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.ExecutionStartedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ExecutionStartedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionStartedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - orchestrationinstance: (f = msg.getOrchestrationinstance()) && proto.OrchestrationInstance.toObject(includeInstance, f), - parentinstance: (f = msg.getParentinstance()) && proto.ParentInstanceInfo.toObject(includeInstance, f), - scheduledstarttimestamp: (f = msg.getScheduledstarttimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - correlationdata: (f = msg.getCorrelationdata()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ExecutionStartedEvent} - */ -proto.ExecutionStartedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ExecutionStartedEvent; - return proto.ExecutionStartedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ExecutionStartedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ExecutionStartedEvent} - */ -proto.ExecutionStartedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - case 4: - var value = new proto.OrchestrationInstance; - reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); - msg.setOrchestrationinstance(value); - break; - case 5: - var value = new proto.ParentInstanceInfo; - reader.readMessage(value,proto.ParentInstanceInfo.deserializeBinaryFromReader); - msg.setParentinstance(value); - break; - case 6: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setScheduledstarttimestamp(value); - break; - case 7: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setCorrelationdata(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ExecutionStartedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ExecutionStartedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ExecutionStartedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionStartedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getOrchestrationinstance(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.OrchestrationInstance.serializeBinaryToWriter - ); - } - f = message.getParentinstance(); - if (f != null) { - writer.writeMessage( - 5, - f, - proto.ParentInstanceInfo.serializeBinaryToWriter - ); - } - f = message.getScheduledstarttimestamp(); - if (f != null) { - writer.writeMessage( - 6, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getCorrelationdata(); - if (f != null) { - writer.writeMessage( - 7, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.ExecutionStartedEvent.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ExecutionStartedEvent} returns this - */ -proto.ExecutionStartedEvent.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue version = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ExecutionStartedEvent.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ExecutionStartedEvent} returns this -*/ -proto.ExecutionStartedEvent.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionStartedEvent} returns this - */ -proto.ExecutionStartedEvent.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionStartedEvent.prototype.hasVersion = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional google.protobuf.StringValue input = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ExecutionStartedEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ExecutionStartedEvent} returns this -*/ -proto.ExecutionStartedEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionStartedEvent} returns this - */ -proto.ExecutionStartedEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionStartedEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional OrchestrationInstance orchestrationInstance = 4; - * @return {?proto.OrchestrationInstance} - */ -proto.ExecutionStartedEvent.prototype.getOrchestrationinstance = function() { - return /** @type{?proto.OrchestrationInstance} */ ( - jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 4)); -}; - - -/** - * @param {?proto.OrchestrationInstance|undefined} value - * @return {!proto.ExecutionStartedEvent} returns this -*/ -proto.ExecutionStartedEvent.prototype.setOrchestrationinstance = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionStartedEvent} returns this - */ -proto.ExecutionStartedEvent.prototype.clearOrchestrationinstance = function() { - return this.setOrchestrationinstance(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionStartedEvent.prototype.hasOrchestrationinstance = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional ParentInstanceInfo parentInstance = 5; - * @return {?proto.ParentInstanceInfo} - */ -proto.ExecutionStartedEvent.prototype.getParentinstance = function() { - return /** @type{?proto.ParentInstanceInfo} */ ( - jspb.Message.getWrapperField(this, proto.ParentInstanceInfo, 5)); -}; - - -/** - * @param {?proto.ParentInstanceInfo|undefined} value - * @return {!proto.ExecutionStartedEvent} returns this -*/ -proto.ExecutionStartedEvent.prototype.setParentinstance = function(value) { - return jspb.Message.setWrapperField(this, 5, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionStartedEvent} returns this - */ -proto.ExecutionStartedEvent.prototype.clearParentinstance = function() { - return this.setParentinstance(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionStartedEvent.prototype.hasParentinstance = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional google.protobuf.Timestamp scheduledStartTimestamp = 6; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.ExecutionStartedEvent.prototype.getScheduledstarttimestamp = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.ExecutionStartedEvent} returns this -*/ -proto.ExecutionStartedEvent.prototype.setScheduledstarttimestamp = function(value) { - return jspb.Message.setWrapperField(this, 6, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionStartedEvent} returns this - */ -proto.ExecutionStartedEvent.prototype.clearScheduledstarttimestamp = function() { - return this.setScheduledstarttimestamp(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionStartedEvent.prototype.hasScheduledstarttimestamp = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional google.protobuf.StringValue correlationData = 7; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ExecutionStartedEvent.prototype.getCorrelationdata = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ExecutionStartedEvent} returns this -*/ -proto.ExecutionStartedEvent.prototype.setCorrelationdata = function(value) { - return jspb.Message.setWrapperField(this, 7, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionStartedEvent} returns this - */ -proto.ExecutionStartedEvent.prototype.clearCorrelationdata = function() { - return this.setCorrelationdata(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionStartedEvent.prototype.hasCorrelationdata = function() { - return jspb.Message.getField(this, 7) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ExecutionCompletedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.ExecutionCompletedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ExecutionCompletedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionCompletedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - orchestrationstatus: jspb.Message.getFieldWithDefault(msg, 1, 0), - result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ExecutionCompletedEvent} - */ -proto.ExecutionCompletedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ExecutionCompletedEvent; - return proto.ExecutionCompletedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ExecutionCompletedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ExecutionCompletedEvent} - */ -proto.ExecutionCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {!proto.OrchestrationStatus} */ (reader.readEnum()); - msg.setOrchestrationstatus(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setResult(value); - break; - case 3: - var value = new proto.TaskFailureDetails; - reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); - msg.setFailuredetails(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ExecutionCompletedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ExecutionCompletedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ExecutionCompletedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionCompletedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getOrchestrationstatus(); - if (f !== 0.0) { - writer.writeEnum( - 1, - f - ); - } - f = message.getResult(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getFailuredetails(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto.TaskFailureDetails.serializeBinaryToWriter - ); - } -}; - - -/** - * optional OrchestrationStatus orchestrationStatus = 1; - * @return {!proto.OrchestrationStatus} - */ -proto.ExecutionCompletedEvent.prototype.getOrchestrationstatus = function() { - return /** @type {!proto.OrchestrationStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {!proto.OrchestrationStatus} value - * @return {!proto.ExecutionCompletedEvent} returns this - */ -proto.ExecutionCompletedEvent.prototype.setOrchestrationstatus = function(value) { - return jspb.Message.setProto3EnumField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue result = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ExecutionCompletedEvent.prototype.getResult = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ExecutionCompletedEvent} returns this -*/ -proto.ExecutionCompletedEvent.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionCompletedEvent} returns this - */ -proto.ExecutionCompletedEvent.prototype.clearResult = function() { - return this.setResult(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionCompletedEvent.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional TaskFailureDetails failureDetails = 3; - * @return {?proto.TaskFailureDetails} - */ -proto.ExecutionCompletedEvent.prototype.getFailuredetails = function() { - return /** @type{?proto.TaskFailureDetails} */ ( - jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 3)); -}; - - -/** - * @param {?proto.TaskFailureDetails|undefined} value - * @return {!proto.ExecutionCompletedEvent} returns this -*/ -proto.ExecutionCompletedEvent.prototype.setFailuredetails = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionCompletedEvent} returns this - */ -proto.ExecutionCompletedEvent.prototype.clearFailuredetails = function() { - return this.setFailuredetails(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionCompletedEvent.prototype.hasFailuredetails = function() { - return jspb.Message.getField(this, 3) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ExecutionTerminatedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.ExecutionTerminatedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ExecutionTerminatedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionTerminatedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ExecutionTerminatedEvent} - */ -proto.ExecutionTerminatedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ExecutionTerminatedEvent; - return proto.ExecutionTerminatedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ExecutionTerminatedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ExecutionTerminatedEvent} - */ -proto.ExecutionTerminatedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ExecutionTerminatedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ExecutionTerminatedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ExecutionTerminatedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionTerminatedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 1, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional google.protobuf.StringValue input = 1; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ExecutionTerminatedEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ExecutionTerminatedEvent} returns this -*/ -proto.ExecutionTerminatedEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionTerminatedEvent} returns this - */ -proto.ExecutionTerminatedEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionTerminatedEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.TaskScheduledEvent.prototype.toObject = function(opt_includeInstance) { - return proto.TaskScheduledEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.TaskScheduledEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TaskScheduledEvent.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.TaskScheduledEvent} - */ -proto.TaskScheduledEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.TaskScheduledEvent; - return proto.TaskScheduledEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.TaskScheduledEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.TaskScheduledEvent} - */ -proto.TaskScheduledEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.TaskScheduledEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.TaskScheduledEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.TaskScheduledEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TaskScheduledEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.TaskScheduledEvent.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.TaskScheduledEvent} returns this - */ -proto.TaskScheduledEvent.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue version = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.TaskScheduledEvent.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.TaskScheduledEvent} returns this -*/ -proto.TaskScheduledEvent.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TaskScheduledEvent} returns this - */ -proto.TaskScheduledEvent.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TaskScheduledEvent.prototype.hasVersion = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional google.protobuf.StringValue input = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.TaskScheduledEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.TaskScheduledEvent} returns this -*/ -proto.TaskScheduledEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TaskScheduledEvent} returns this - */ -proto.TaskScheduledEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TaskScheduledEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 3) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.TaskCompletedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.TaskCompletedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.TaskCompletedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TaskCompletedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), - result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.TaskCompletedEvent} - */ -proto.TaskCompletedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.TaskCompletedEvent; - return proto.TaskCompletedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.TaskCompletedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.TaskCompletedEvent} - */ -proto.TaskCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setTaskscheduledid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setResult(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.TaskCompletedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.TaskCompletedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.TaskCompletedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TaskCompletedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTaskscheduledid(); - if (f !== 0) { - writer.writeInt32( - 1, - f - ); - } - f = message.getResult(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional int32 taskScheduledId = 1; - * @return {number} - */ -proto.TaskCompletedEvent.prototype.getTaskscheduledid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.TaskCompletedEvent} returns this - */ -proto.TaskCompletedEvent.prototype.setTaskscheduledid = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue result = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.TaskCompletedEvent.prototype.getResult = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.TaskCompletedEvent} returns this -*/ -proto.TaskCompletedEvent.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TaskCompletedEvent} returns this - */ -proto.TaskCompletedEvent.prototype.clearResult = function() { - return this.setResult(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TaskCompletedEvent.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.TaskFailedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.TaskFailedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.TaskFailedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TaskFailedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), - failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.TaskFailedEvent} - */ -proto.TaskFailedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.TaskFailedEvent; - return proto.TaskFailedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.TaskFailedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.TaskFailedEvent} - */ -proto.TaskFailedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setTaskscheduledid(value); - break; - case 2: - var value = new proto.TaskFailureDetails; - reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); - msg.setFailuredetails(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.TaskFailedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.TaskFailedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.TaskFailedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TaskFailedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTaskscheduledid(); - if (f !== 0) { - writer.writeInt32( - 1, - f - ); - } - f = message.getFailuredetails(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.TaskFailureDetails.serializeBinaryToWriter - ); - } -}; - - -/** - * optional int32 taskScheduledId = 1; - * @return {number} - */ -proto.TaskFailedEvent.prototype.getTaskscheduledid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.TaskFailedEvent} returns this - */ -proto.TaskFailedEvent.prototype.setTaskscheduledid = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - -/** - * optional TaskFailureDetails failureDetails = 2; - * @return {?proto.TaskFailureDetails} - */ -proto.TaskFailedEvent.prototype.getFailuredetails = function() { - return /** @type{?proto.TaskFailureDetails} */ ( - jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 2)); -}; - - -/** - * @param {?proto.TaskFailureDetails|undefined} value - * @return {!proto.TaskFailedEvent} returns this -*/ -proto.TaskFailedEvent.prototype.setFailuredetails = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TaskFailedEvent} returns this - */ -proto.TaskFailedEvent.prototype.clearFailuredetails = function() { - return this.setFailuredetails(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TaskFailedEvent.prototype.hasFailuredetails = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.SubOrchestrationInstanceCreatedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.SubOrchestrationInstanceCreatedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SubOrchestrationInstanceCreatedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.SubOrchestrationInstanceCreatedEvent} - */ -proto.SubOrchestrationInstanceCreatedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.SubOrchestrationInstanceCreatedEvent; - return proto.SubOrchestrationInstanceCreatedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.SubOrchestrationInstanceCreatedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.SubOrchestrationInstanceCreatedEvent} - */ -proto.SubOrchestrationInstanceCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 4: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.SubOrchestrationInstanceCreatedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.SubOrchestrationInstanceCreatedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SubOrchestrationInstanceCreatedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 4, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue version = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this -*/ -proto.SubOrchestrationInstanceCreatedEvent.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.hasVersion = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional google.protobuf.StringValue input = 4; - * @return {?proto.google.protobuf.StringValue} - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this -*/ -proto.SubOrchestrationInstanceCreatedEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.SubOrchestrationInstanceCreatedEvent} returns this - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.SubOrchestrationInstanceCreatedEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 4) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.SubOrchestrationInstanceCompletedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.SubOrchestrationInstanceCompletedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.SubOrchestrationInstanceCompletedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SubOrchestrationInstanceCompletedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), - result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.SubOrchestrationInstanceCompletedEvent} - */ -proto.SubOrchestrationInstanceCompletedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.SubOrchestrationInstanceCompletedEvent; - return proto.SubOrchestrationInstanceCompletedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.SubOrchestrationInstanceCompletedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.SubOrchestrationInstanceCompletedEvent} - */ -proto.SubOrchestrationInstanceCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setTaskscheduledid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setResult(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.SubOrchestrationInstanceCompletedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.SubOrchestrationInstanceCompletedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.SubOrchestrationInstanceCompletedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SubOrchestrationInstanceCompletedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTaskscheduledid(); - if (f !== 0) { - writer.writeInt32( - 1, - f - ); - } - f = message.getResult(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional int32 taskScheduledId = 1; - * @return {number} - */ -proto.SubOrchestrationInstanceCompletedEvent.prototype.getTaskscheduledid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.SubOrchestrationInstanceCompletedEvent} returns this - */ -proto.SubOrchestrationInstanceCompletedEvent.prototype.setTaskscheduledid = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue result = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.SubOrchestrationInstanceCompletedEvent.prototype.getResult = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.SubOrchestrationInstanceCompletedEvent} returns this -*/ -proto.SubOrchestrationInstanceCompletedEvent.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.SubOrchestrationInstanceCompletedEvent} returns this - */ -proto.SubOrchestrationInstanceCompletedEvent.prototype.clearResult = function() { - return this.setResult(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.SubOrchestrationInstanceCompletedEvent.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.SubOrchestrationInstanceFailedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.SubOrchestrationInstanceFailedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.SubOrchestrationInstanceFailedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SubOrchestrationInstanceFailedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - taskscheduledid: jspb.Message.getFieldWithDefault(msg, 1, 0), - failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.SubOrchestrationInstanceFailedEvent} - */ -proto.SubOrchestrationInstanceFailedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.SubOrchestrationInstanceFailedEvent; - return proto.SubOrchestrationInstanceFailedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.SubOrchestrationInstanceFailedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.SubOrchestrationInstanceFailedEvent} - */ -proto.SubOrchestrationInstanceFailedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setTaskscheduledid(value); - break; - case 2: - var value = new proto.TaskFailureDetails; - reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); - msg.setFailuredetails(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.SubOrchestrationInstanceFailedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.SubOrchestrationInstanceFailedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.SubOrchestrationInstanceFailedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SubOrchestrationInstanceFailedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getTaskscheduledid(); - if (f !== 0) { - writer.writeInt32( - 1, - f - ); - } - f = message.getFailuredetails(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.TaskFailureDetails.serializeBinaryToWriter - ); - } -}; - - -/** - * optional int32 taskScheduledId = 1; - * @return {number} - */ -proto.SubOrchestrationInstanceFailedEvent.prototype.getTaskscheduledid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.SubOrchestrationInstanceFailedEvent} returns this - */ -proto.SubOrchestrationInstanceFailedEvent.prototype.setTaskscheduledid = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - -/** - * optional TaskFailureDetails failureDetails = 2; - * @return {?proto.TaskFailureDetails} - */ -proto.SubOrchestrationInstanceFailedEvent.prototype.getFailuredetails = function() { - return /** @type{?proto.TaskFailureDetails} */ ( - jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 2)); -}; - - -/** - * @param {?proto.TaskFailureDetails|undefined} value - * @return {!proto.SubOrchestrationInstanceFailedEvent} returns this -*/ -proto.SubOrchestrationInstanceFailedEvent.prototype.setFailuredetails = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.SubOrchestrationInstanceFailedEvent} returns this - */ -proto.SubOrchestrationInstanceFailedEvent.prototype.clearFailuredetails = function() { - return this.setFailuredetails(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.SubOrchestrationInstanceFailedEvent.prototype.hasFailuredetails = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.TimerCreatedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.TimerCreatedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.TimerCreatedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TimerCreatedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - fireat: (f = msg.getFireat()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.TimerCreatedEvent} - */ -proto.TimerCreatedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.TimerCreatedEvent; - return proto.TimerCreatedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.TimerCreatedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.TimerCreatedEvent} - */ -proto.TimerCreatedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setFireat(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.TimerCreatedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.TimerCreatedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.TimerCreatedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TimerCreatedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getFireat(); - if (f != null) { - writer.writeMessage( - 1, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } -}; - - -/** - * optional google.protobuf.Timestamp fireAt = 1; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.TimerCreatedEvent.prototype.getFireat = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.TimerCreatedEvent} returns this -*/ -proto.TimerCreatedEvent.prototype.setFireat = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TimerCreatedEvent} returns this - */ -proto.TimerCreatedEvent.prototype.clearFireat = function() { - return this.setFireat(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TimerCreatedEvent.prototype.hasFireat = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.TimerFiredEvent.prototype.toObject = function(opt_includeInstance) { - return proto.TimerFiredEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.TimerFiredEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TimerFiredEvent.toObject = function(includeInstance, msg) { - var f, obj = { - fireat: (f = msg.getFireat()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - timerid: jspb.Message.getFieldWithDefault(msg, 2, 0) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.TimerFiredEvent} - */ -proto.TimerFiredEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.TimerFiredEvent; - return proto.TimerFiredEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.TimerFiredEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.TimerFiredEvent} - */ -proto.TimerFiredEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setFireat(value); - break; - case 2: - var value = /** @type {number} */ (reader.readInt32()); - msg.setTimerid(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.TimerFiredEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.TimerFiredEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.TimerFiredEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TimerFiredEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getFireat(); - if (f != null) { - writer.writeMessage( - 1, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getTimerid(); - if (f !== 0) { - writer.writeInt32( - 2, - f - ); - } -}; - - -/** - * optional google.protobuf.Timestamp fireAt = 1; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.TimerFiredEvent.prototype.getFireat = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.TimerFiredEvent} returns this -*/ -proto.TimerFiredEvent.prototype.setFireat = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TimerFiredEvent} returns this - */ -proto.TimerFiredEvent.prototype.clearFireat = function() { - return this.setFireat(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TimerFiredEvent.prototype.hasFireat = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional int32 timerId = 2; - * @return {number} - */ -proto.TimerFiredEvent.prototype.getTimerid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.TimerFiredEvent} returns this - */ -proto.TimerFiredEvent.prototype.setTimerid = function(value) { - return jspb.Message.setProto3IntField(this, 2, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.OrchestratorStartedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.OrchestratorStartedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.OrchestratorStartedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorStartedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.OrchestratorStartedEvent} - */ -proto.OrchestratorStartedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.OrchestratorStartedEvent; - return proto.OrchestratorStartedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.OrchestratorStartedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.OrchestratorStartedEvent} - */ -proto.OrchestratorStartedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.OrchestratorStartedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.OrchestratorStartedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.OrchestratorStartedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorStartedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.OrchestratorCompletedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.OrchestratorCompletedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.OrchestratorCompletedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorCompletedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.OrchestratorCompletedEvent} - */ -proto.OrchestratorCompletedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.OrchestratorCompletedEvent; - return proto.OrchestratorCompletedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.OrchestratorCompletedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.OrchestratorCompletedEvent} - */ -proto.OrchestratorCompletedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.OrchestratorCompletedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.OrchestratorCompletedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.OrchestratorCompletedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorCompletedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.EventSentEvent.prototype.toObject = function(opt_includeInstance) { - return proto.EventSentEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.EventSentEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.EventSentEvent.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.EventSentEvent} - */ -proto.EventSentEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.EventSentEvent; - return proto.EventSentEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.EventSentEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.EventSentEvent} - */ -proto.EventSentEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.EventSentEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.EventSentEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.EventSentEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.EventSentEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.EventSentEvent.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.EventSentEvent} returns this - */ -proto.EventSentEvent.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.EventSentEvent.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.EventSentEvent} returns this - */ -proto.EventSentEvent.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue input = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.EventSentEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.EventSentEvent} returns this -*/ -proto.EventSentEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.EventSentEvent} returns this - */ -proto.EventSentEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.EventSentEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 3) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.EventRaisedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.EventRaisedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.EventRaisedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.EventRaisedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.EventRaisedEvent} - */ -proto.EventRaisedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.EventRaisedEvent; - return proto.EventRaisedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.EventRaisedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.EventRaisedEvent} - */ -proto.EventRaisedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.EventRaisedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.EventRaisedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.EventRaisedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.EventRaisedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.EventRaisedEvent.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.EventRaisedEvent} returns this - */ -proto.EventRaisedEvent.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue input = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.EventRaisedEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.EventRaisedEvent} returns this -*/ -proto.EventRaisedEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.EventRaisedEvent} returns this - */ -proto.EventRaisedEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.EventRaisedEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.GenericEvent.prototype.toObject = function(opt_includeInstance) { - return proto.GenericEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.GenericEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.GenericEvent.toObject = function(includeInstance, msg) { - var f, obj = { - data: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.GenericEvent} - */ -proto.GenericEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.GenericEvent; - return proto.GenericEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.GenericEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.GenericEvent} - */ -proto.GenericEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setData(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.GenericEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.GenericEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.GenericEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.GenericEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getData(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string data = 1; - * @return {string} - */ -proto.GenericEvent.prototype.getData = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.GenericEvent} returns this - */ -proto.GenericEvent.prototype.setData = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.HistoryStateEvent.prototype.toObject = function(opt_includeInstance) { - return proto.HistoryStateEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.HistoryStateEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.HistoryStateEvent.toObject = function(includeInstance, msg) { - var f, obj = { - orchestrationstate: (f = msg.getOrchestrationstate()) && proto.OrchestrationState.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.HistoryStateEvent} - */ -proto.HistoryStateEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.HistoryStateEvent; - return proto.HistoryStateEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.HistoryStateEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.HistoryStateEvent} - */ -proto.HistoryStateEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.OrchestrationState; - reader.readMessage(value,proto.OrchestrationState.deserializeBinaryFromReader); - msg.setOrchestrationstate(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.HistoryStateEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.HistoryStateEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.HistoryStateEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.HistoryStateEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getOrchestrationstate(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.OrchestrationState.serializeBinaryToWriter - ); - } -}; - - -/** - * optional OrchestrationState orchestrationState = 1; - * @return {?proto.OrchestrationState} - */ -proto.HistoryStateEvent.prototype.getOrchestrationstate = function() { - return /** @type{?proto.OrchestrationState} */ ( - jspb.Message.getWrapperField(this, proto.OrchestrationState, 1)); -}; - - -/** - * @param {?proto.OrchestrationState|undefined} value - * @return {!proto.HistoryStateEvent} returns this -*/ -proto.HistoryStateEvent.prototype.setOrchestrationstate = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryStateEvent} returns this - */ -proto.HistoryStateEvent.prototype.clearOrchestrationstate = function() { - return this.setOrchestrationstate(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryStateEvent.prototype.hasOrchestrationstate = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ContinueAsNewEvent.prototype.toObject = function(opt_includeInstance) { - return proto.ContinueAsNewEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ContinueAsNewEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ContinueAsNewEvent.toObject = function(includeInstance, msg) { - var f, obj = { - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ContinueAsNewEvent} - */ -proto.ContinueAsNewEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ContinueAsNewEvent; - return proto.ContinueAsNewEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ContinueAsNewEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ContinueAsNewEvent} - */ -proto.ContinueAsNewEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ContinueAsNewEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ContinueAsNewEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ContinueAsNewEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ContinueAsNewEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 1, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional google.protobuf.StringValue input = 1; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ContinueAsNewEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ContinueAsNewEvent} returns this -*/ -proto.ContinueAsNewEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ContinueAsNewEvent} returns this - */ -proto.ContinueAsNewEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ContinueAsNewEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ExecutionSuspendedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.ExecutionSuspendedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ExecutionSuspendedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionSuspendedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ExecutionSuspendedEvent} - */ -proto.ExecutionSuspendedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ExecutionSuspendedEvent; - return proto.ExecutionSuspendedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ExecutionSuspendedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ExecutionSuspendedEvent} - */ -proto.ExecutionSuspendedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ExecutionSuspendedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ExecutionSuspendedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ExecutionSuspendedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionSuspendedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 1, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional google.protobuf.StringValue input = 1; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ExecutionSuspendedEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ExecutionSuspendedEvent} returns this -*/ -proto.ExecutionSuspendedEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionSuspendedEvent} returns this - */ -proto.ExecutionSuspendedEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionSuspendedEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ExecutionResumedEvent.prototype.toObject = function(opt_includeInstance) { - return proto.ExecutionResumedEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ExecutionResumedEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionResumedEvent.toObject = function(includeInstance, msg) { - var f, obj = { - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ExecutionResumedEvent} - */ -proto.ExecutionResumedEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ExecutionResumedEvent; - return proto.ExecutionResumedEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ExecutionResumedEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ExecutionResumedEvent} - */ -proto.ExecutionResumedEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ExecutionResumedEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ExecutionResumedEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ExecutionResumedEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ExecutionResumedEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 1, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional google.protobuf.StringValue input = 1; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ExecutionResumedEvent.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ExecutionResumedEvent} returns this -*/ -proto.ExecutionResumedEvent.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ExecutionResumedEvent} returns this - */ -proto.ExecutionResumedEvent.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ExecutionResumedEvent.prototype.hasInput = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.HistoryEvent.oneofGroups_ = [[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]]; - -/** - * @enum {number} - */ -proto.HistoryEvent.EventtypeCase = { - EVENTTYPE_NOT_SET: 0, - EXECUTIONSTARTED: 3, - EXECUTIONCOMPLETED: 4, - EXECUTIONTERMINATED: 5, - TASKSCHEDULED: 6, - TASKCOMPLETED: 7, - TASKFAILED: 8, - SUBORCHESTRATIONINSTANCECREATED: 9, - SUBORCHESTRATIONINSTANCECOMPLETED: 10, - SUBORCHESTRATIONINSTANCEFAILED: 11, - TIMERCREATED: 12, - TIMERFIRED: 13, - ORCHESTRATORSTARTED: 14, - ORCHESTRATORCOMPLETED: 15, - EVENTSENT: 16, - EVENTRAISED: 17, - GENERICEVENT: 18, - HISTORYSTATE: 19, - CONTINUEASNEW: 20, - EXECUTIONSUSPENDED: 21, - EXECUTIONRESUMED: 22 -}; - -/** - * @return {proto.HistoryEvent.EventtypeCase} - */ -proto.HistoryEvent.prototype.getEventtypeCase = function() { - return /** @type {proto.HistoryEvent.EventtypeCase} */(jspb.Message.computeOneofCase(this, proto.HistoryEvent.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.HistoryEvent.prototype.toObject = function(opt_includeInstance) { - return proto.HistoryEvent.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.HistoryEvent} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.HistoryEvent.toObject = function(includeInstance, msg) { - var f, obj = { - eventid: jspb.Message.getFieldWithDefault(msg, 1, 0), - timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - executionstarted: (f = msg.getExecutionstarted()) && proto.ExecutionStartedEvent.toObject(includeInstance, f), - executioncompleted: (f = msg.getExecutioncompleted()) && proto.ExecutionCompletedEvent.toObject(includeInstance, f), - executionterminated: (f = msg.getExecutionterminated()) && proto.ExecutionTerminatedEvent.toObject(includeInstance, f), - taskscheduled: (f = msg.getTaskscheduled()) && proto.TaskScheduledEvent.toObject(includeInstance, f), - taskcompleted: (f = msg.getTaskcompleted()) && proto.TaskCompletedEvent.toObject(includeInstance, f), - taskfailed: (f = msg.getTaskfailed()) && proto.TaskFailedEvent.toObject(includeInstance, f), - suborchestrationinstancecreated: (f = msg.getSuborchestrationinstancecreated()) && proto.SubOrchestrationInstanceCreatedEvent.toObject(includeInstance, f), - suborchestrationinstancecompleted: (f = msg.getSuborchestrationinstancecompleted()) && proto.SubOrchestrationInstanceCompletedEvent.toObject(includeInstance, f), - suborchestrationinstancefailed: (f = msg.getSuborchestrationinstancefailed()) && proto.SubOrchestrationInstanceFailedEvent.toObject(includeInstance, f), - timercreated: (f = msg.getTimercreated()) && proto.TimerCreatedEvent.toObject(includeInstance, f), - timerfired: (f = msg.getTimerfired()) && proto.TimerFiredEvent.toObject(includeInstance, f), - orchestratorstarted: (f = msg.getOrchestratorstarted()) && proto.OrchestratorStartedEvent.toObject(includeInstance, f), - orchestratorcompleted: (f = msg.getOrchestratorcompleted()) && proto.OrchestratorCompletedEvent.toObject(includeInstance, f), - eventsent: (f = msg.getEventsent()) && proto.EventSentEvent.toObject(includeInstance, f), - eventraised: (f = msg.getEventraised()) && proto.EventRaisedEvent.toObject(includeInstance, f), - genericevent: (f = msg.getGenericevent()) && proto.GenericEvent.toObject(includeInstance, f), - historystate: (f = msg.getHistorystate()) && proto.HistoryStateEvent.toObject(includeInstance, f), - continueasnew: (f = msg.getContinueasnew()) && proto.ContinueAsNewEvent.toObject(includeInstance, f), - executionsuspended: (f = msg.getExecutionsuspended()) && proto.ExecutionSuspendedEvent.toObject(includeInstance, f), - executionresumed: (f = msg.getExecutionresumed()) && proto.ExecutionResumedEvent.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.HistoryEvent} - */ -proto.HistoryEvent.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.HistoryEvent; - return proto.HistoryEvent.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.HistoryEvent} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.HistoryEvent} - */ -proto.HistoryEvent.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setEventid(value); - break; - case 2: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setTimestamp(value); - break; - case 3: - var value = new proto.ExecutionStartedEvent; - reader.readMessage(value,proto.ExecutionStartedEvent.deserializeBinaryFromReader); - msg.setExecutionstarted(value); - break; - case 4: - var value = new proto.ExecutionCompletedEvent; - reader.readMessage(value,proto.ExecutionCompletedEvent.deserializeBinaryFromReader); - msg.setExecutioncompleted(value); - break; - case 5: - var value = new proto.ExecutionTerminatedEvent; - reader.readMessage(value,proto.ExecutionTerminatedEvent.deserializeBinaryFromReader); - msg.setExecutionterminated(value); - break; - case 6: - var value = new proto.TaskScheduledEvent; - reader.readMessage(value,proto.TaskScheduledEvent.deserializeBinaryFromReader); - msg.setTaskscheduled(value); - break; - case 7: - var value = new proto.TaskCompletedEvent; - reader.readMessage(value,proto.TaskCompletedEvent.deserializeBinaryFromReader); - msg.setTaskcompleted(value); - break; - case 8: - var value = new proto.TaskFailedEvent; - reader.readMessage(value,proto.TaskFailedEvent.deserializeBinaryFromReader); - msg.setTaskfailed(value); - break; - case 9: - var value = new proto.SubOrchestrationInstanceCreatedEvent; - reader.readMessage(value,proto.SubOrchestrationInstanceCreatedEvent.deserializeBinaryFromReader); - msg.setSuborchestrationinstancecreated(value); - break; - case 10: - var value = new proto.SubOrchestrationInstanceCompletedEvent; - reader.readMessage(value,proto.SubOrchestrationInstanceCompletedEvent.deserializeBinaryFromReader); - msg.setSuborchestrationinstancecompleted(value); - break; - case 11: - var value = new proto.SubOrchestrationInstanceFailedEvent; - reader.readMessage(value,proto.SubOrchestrationInstanceFailedEvent.deserializeBinaryFromReader); - msg.setSuborchestrationinstancefailed(value); - break; - case 12: - var value = new proto.TimerCreatedEvent; - reader.readMessage(value,proto.TimerCreatedEvent.deserializeBinaryFromReader); - msg.setTimercreated(value); - break; - case 13: - var value = new proto.TimerFiredEvent; - reader.readMessage(value,proto.TimerFiredEvent.deserializeBinaryFromReader); - msg.setTimerfired(value); - break; - case 14: - var value = new proto.OrchestratorStartedEvent; - reader.readMessage(value,proto.OrchestratorStartedEvent.deserializeBinaryFromReader); - msg.setOrchestratorstarted(value); - break; - case 15: - var value = new proto.OrchestratorCompletedEvent; - reader.readMessage(value,proto.OrchestratorCompletedEvent.deserializeBinaryFromReader); - msg.setOrchestratorcompleted(value); - break; - case 16: - var value = new proto.EventSentEvent; - reader.readMessage(value,proto.EventSentEvent.deserializeBinaryFromReader); - msg.setEventsent(value); - break; - case 17: - var value = new proto.EventRaisedEvent; - reader.readMessage(value,proto.EventRaisedEvent.deserializeBinaryFromReader); - msg.setEventraised(value); - break; - case 18: - var value = new proto.GenericEvent; - reader.readMessage(value,proto.GenericEvent.deserializeBinaryFromReader); - msg.setGenericevent(value); - break; - case 19: - var value = new proto.HistoryStateEvent; - reader.readMessage(value,proto.HistoryStateEvent.deserializeBinaryFromReader); - msg.setHistorystate(value); - break; - case 20: - var value = new proto.ContinueAsNewEvent; - reader.readMessage(value,proto.ContinueAsNewEvent.deserializeBinaryFromReader); - msg.setContinueasnew(value); - break; - case 21: - var value = new proto.ExecutionSuspendedEvent; - reader.readMessage(value,proto.ExecutionSuspendedEvent.deserializeBinaryFromReader); - msg.setExecutionsuspended(value); - break; - case 22: - var value = new proto.ExecutionResumedEvent; - reader.readMessage(value,proto.ExecutionResumedEvent.deserializeBinaryFromReader); - msg.setExecutionresumed(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.HistoryEvent.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.HistoryEvent.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.HistoryEvent} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.HistoryEvent.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getEventid(); - if (f !== 0) { - writer.writeInt32( - 1, - f - ); - } - f = message.getTimestamp(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getExecutionstarted(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto.ExecutionStartedEvent.serializeBinaryToWriter - ); - } - f = message.getExecutioncompleted(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.ExecutionCompletedEvent.serializeBinaryToWriter - ); - } - f = message.getExecutionterminated(); - if (f != null) { - writer.writeMessage( - 5, - f, - proto.ExecutionTerminatedEvent.serializeBinaryToWriter - ); - } - f = message.getTaskscheduled(); - if (f != null) { - writer.writeMessage( - 6, - f, - proto.TaskScheduledEvent.serializeBinaryToWriter - ); - } - f = message.getTaskcompleted(); - if (f != null) { - writer.writeMessage( - 7, - f, - proto.TaskCompletedEvent.serializeBinaryToWriter - ); - } - f = message.getTaskfailed(); - if (f != null) { - writer.writeMessage( - 8, - f, - proto.TaskFailedEvent.serializeBinaryToWriter - ); - } - f = message.getSuborchestrationinstancecreated(); - if (f != null) { - writer.writeMessage( - 9, - f, - proto.SubOrchestrationInstanceCreatedEvent.serializeBinaryToWriter - ); - } - f = message.getSuborchestrationinstancecompleted(); - if (f != null) { - writer.writeMessage( - 10, - f, - proto.SubOrchestrationInstanceCompletedEvent.serializeBinaryToWriter - ); - } - f = message.getSuborchestrationinstancefailed(); - if (f != null) { - writer.writeMessage( - 11, - f, - proto.SubOrchestrationInstanceFailedEvent.serializeBinaryToWriter - ); - } - f = message.getTimercreated(); - if (f != null) { - writer.writeMessage( - 12, - f, - proto.TimerCreatedEvent.serializeBinaryToWriter - ); - } - f = message.getTimerfired(); - if (f != null) { - writer.writeMessage( - 13, - f, - proto.TimerFiredEvent.serializeBinaryToWriter - ); - } - f = message.getOrchestratorstarted(); - if (f != null) { - writer.writeMessage( - 14, - f, - proto.OrchestratorStartedEvent.serializeBinaryToWriter - ); - } - f = message.getOrchestratorcompleted(); - if (f != null) { - writer.writeMessage( - 15, - f, - proto.OrchestratorCompletedEvent.serializeBinaryToWriter - ); - } - f = message.getEventsent(); - if (f != null) { - writer.writeMessage( - 16, - f, - proto.EventSentEvent.serializeBinaryToWriter - ); - } - f = message.getEventraised(); - if (f != null) { - writer.writeMessage( - 17, - f, - proto.EventRaisedEvent.serializeBinaryToWriter - ); - } - f = message.getGenericevent(); - if (f != null) { - writer.writeMessage( - 18, - f, - proto.GenericEvent.serializeBinaryToWriter - ); - } - f = message.getHistorystate(); - if (f != null) { - writer.writeMessage( - 19, - f, - proto.HistoryStateEvent.serializeBinaryToWriter - ); - } - f = message.getContinueasnew(); - if (f != null) { - writer.writeMessage( - 20, - f, - proto.ContinueAsNewEvent.serializeBinaryToWriter - ); - } - f = message.getExecutionsuspended(); - if (f != null) { - writer.writeMessage( - 21, - f, - proto.ExecutionSuspendedEvent.serializeBinaryToWriter - ); - } - f = message.getExecutionresumed(); - if (f != null) { - writer.writeMessage( - 22, - f, - proto.ExecutionResumedEvent.serializeBinaryToWriter - ); - } -}; - - -/** - * optional int32 eventId = 1; - * @return {number} - */ -proto.HistoryEvent.prototype.getEventid = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.setEventid = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - -/** - * optional google.protobuf.Timestamp timestamp = 2; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.HistoryEvent.prototype.getTimestamp = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setTimestamp = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearTimestamp = function() { - return this.setTimestamp(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasTimestamp = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional ExecutionStartedEvent executionStarted = 3; - * @return {?proto.ExecutionStartedEvent} - */ -proto.HistoryEvent.prototype.getExecutionstarted = function() { - return /** @type{?proto.ExecutionStartedEvent} */ ( - jspb.Message.getWrapperField(this, proto.ExecutionStartedEvent, 3)); -}; - - -/** - * @param {?proto.ExecutionStartedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setExecutionstarted = function(value) { - return jspb.Message.setOneofWrapperField(this, 3, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearExecutionstarted = function() { - return this.setExecutionstarted(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasExecutionstarted = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional ExecutionCompletedEvent executionCompleted = 4; - * @return {?proto.ExecutionCompletedEvent} - */ -proto.HistoryEvent.prototype.getExecutioncompleted = function() { - return /** @type{?proto.ExecutionCompletedEvent} */ ( - jspb.Message.getWrapperField(this, proto.ExecutionCompletedEvent, 4)); -}; - - -/** - * @param {?proto.ExecutionCompletedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setExecutioncompleted = function(value) { - return jspb.Message.setOneofWrapperField(this, 4, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearExecutioncompleted = function() { - return this.setExecutioncompleted(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasExecutioncompleted = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional ExecutionTerminatedEvent executionTerminated = 5; - * @return {?proto.ExecutionTerminatedEvent} - */ -proto.HistoryEvent.prototype.getExecutionterminated = function() { - return /** @type{?proto.ExecutionTerminatedEvent} */ ( - jspb.Message.getWrapperField(this, proto.ExecutionTerminatedEvent, 5)); -}; - - -/** - * @param {?proto.ExecutionTerminatedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setExecutionterminated = function(value) { - return jspb.Message.setOneofWrapperField(this, 5, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearExecutionterminated = function() { - return this.setExecutionterminated(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasExecutionterminated = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional TaskScheduledEvent taskScheduled = 6; - * @return {?proto.TaskScheduledEvent} - */ -proto.HistoryEvent.prototype.getTaskscheduled = function() { - return /** @type{?proto.TaskScheduledEvent} */ ( - jspb.Message.getWrapperField(this, proto.TaskScheduledEvent, 6)); -}; - - -/** - * @param {?proto.TaskScheduledEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setTaskscheduled = function(value) { - return jspb.Message.setOneofWrapperField(this, 6, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearTaskscheduled = function() { - return this.setTaskscheduled(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasTaskscheduled = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional TaskCompletedEvent taskCompleted = 7; - * @return {?proto.TaskCompletedEvent} - */ -proto.HistoryEvent.prototype.getTaskcompleted = function() { - return /** @type{?proto.TaskCompletedEvent} */ ( - jspb.Message.getWrapperField(this, proto.TaskCompletedEvent, 7)); -}; - - -/** - * @param {?proto.TaskCompletedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setTaskcompleted = function(value) { - return jspb.Message.setOneofWrapperField(this, 7, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearTaskcompleted = function() { - return this.setTaskcompleted(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasTaskcompleted = function() { - return jspb.Message.getField(this, 7) != null; -}; - - -/** - * optional TaskFailedEvent taskFailed = 8; - * @return {?proto.TaskFailedEvent} - */ -proto.HistoryEvent.prototype.getTaskfailed = function() { - return /** @type{?proto.TaskFailedEvent} */ ( - jspb.Message.getWrapperField(this, proto.TaskFailedEvent, 8)); -}; - - -/** - * @param {?proto.TaskFailedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setTaskfailed = function(value) { - return jspb.Message.setOneofWrapperField(this, 8, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearTaskfailed = function() { - return this.setTaskfailed(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasTaskfailed = function() { - return jspb.Message.getField(this, 8) != null; -}; - - -/** - * optional SubOrchestrationInstanceCreatedEvent subOrchestrationInstanceCreated = 9; - * @return {?proto.SubOrchestrationInstanceCreatedEvent} - */ -proto.HistoryEvent.prototype.getSuborchestrationinstancecreated = function() { - return /** @type{?proto.SubOrchestrationInstanceCreatedEvent} */ ( - jspb.Message.getWrapperField(this, proto.SubOrchestrationInstanceCreatedEvent, 9)); -}; - - -/** - * @param {?proto.SubOrchestrationInstanceCreatedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setSuborchestrationinstancecreated = function(value) { - return jspb.Message.setOneofWrapperField(this, 9, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearSuborchestrationinstancecreated = function() { - return this.setSuborchestrationinstancecreated(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasSuborchestrationinstancecreated = function() { - return jspb.Message.getField(this, 9) != null; -}; - - -/** - * optional SubOrchestrationInstanceCompletedEvent subOrchestrationInstanceCompleted = 10; - * @return {?proto.SubOrchestrationInstanceCompletedEvent} - */ -proto.HistoryEvent.prototype.getSuborchestrationinstancecompleted = function() { - return /** @type{?proto.SubOrchestrationInstanceCompletedEvent} */ ( - jspb.Message.getWrapperField(this, proto.SubOrchestrationInstanceCompletedEvent, 10)); -}; - - -/** - * @param {?proto.SubOrchestrationInstanceCompletedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setSuborchestrationinstancecompleted = function(value) { - return jspb.Message.setOneofWrapperField(this, 10, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearSuborchestrationinstancecompleted = function() { - return this.setSuborchestrationinstancecompleted(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasSuborchestrationinstancecompleted = function() { - return jspb.Message.getField(this, 10) != null; -}; - - -/** - * optional SubOrchestrationInstanceFailedEvent subOrchestrationInstanceFailed = 11; - * @return {?proto.SubOrchestrationInstanceFailedEvent} - */ -proto.HistoryEvent.prototype.getSuborchestrationinstancefailed = function() { - return /** @type{?proto.SubOrchestrationInstanceFailedEvent} */ ( - jspb.Message.getWrapperField(this, proto.SubOrchestrationInstanceFailedEvent, 11)); -}; - - -/** - * @param {?proto.SubOrchestrationInstanceFailedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setSuborchestrationinstancefailed = function(value) { - return jspb.Message.setOneofWrapperField(this, 11, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearSuborchestrationinstancefailed = function() { - return this.setSuborchestrationinstancefailed(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasSuborchestrationinstancefailed = function() { - return jspb.Message.getField(this, 11) != null; -}; - - -/** - * optional TimerCreatedEvent timerCreated = 12; - * @return {?proto.TimerCreatedEvent} - */ -proto.HistoryEvent.prototype.getTimercreated = function() { - return /** @type{?proto.TimerCreatedEvent} */ ( - jspb.Message.getWrapperField(this, proto.TimerCreatedEvent, 12)); -}; - - -/** - * @param {?proto.TimerCreatedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setTimercreated = function(value) { - return jspb.Message.setOneofWrapperField(this, 12, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearTimercreated = function() { - return this.setTimercreated(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasTimercreated = function() { - return jspb.Message.getField(this, 12) != null; -}; - - -/** - * optional TimerFiredEvent timerFired = 13; - * @return {?proto.TimerFiredEvent} - */ -proto.HistoryEvent.prototype.getTimerfired = function() { - return /** @type{?proto.TimerFiredEvent} */ ( - jspb.Message.getWrapperField(this, proto.TimerFiredEvent, 13)); -}; - - -/** - * @param {?proto.TimerFiredEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setTimerfired = function(value) { - return jspb.Message.setOneofWrapperField(this, 13, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearTimerfired = function() { - return this.setTimerfired(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasTimerfired = function() { - return jspb.Message.getField(this, 13) != null; -}; - - -/** - * optional OrchestratorStartedEvent orchestratorStarted = 14; - * @return {?proto.OrchestratorStartedEvent} - */ -proto.HistoryEvent.prototype.getOrchestratorstarted = function() { - return /** @type{?proto.OrchestratorStartedEvent} */ ( - jspb.Message.getWrapperField(this, proto.OrchestratorStartedEvent, 14)); -}; - - -/** - * @param {?proto.OrchestratorStartedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setOrchestratorstarted = function(value) { - return jspb.Message.setOneofWrapperField(this, 14, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearOrchestratorstarted = function() { - return this.setOrchestratorstarted(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasOrchestratorstarted = function() { - return jspb.Message.getField(this, 14) != null; -}; - - -/** - * optional OrchestratorCompletedEvent orchestratorCompleted = 15; - * @return {?proto.OrchestratorCompletedEvent} - */ -proto.HistoryEvent.prototype.getOrchestratorcompleted = function() { - return /** @type{?proto.OrchestratorCompletedEvent} */ ( - jspb.Message.getWrapperField(this, proto.OrchestratorCompletedEvent, 15)); -}; - - -/** - * @param {?proto.OrchestratorCompletedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setOrchestratorcompleted = function(value) { - return jspb.Message.setOneofWrapperField(this, 15, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearOrchestratorcompleted = function() { - return this.setOrchestratorcompleted(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasOrchestratorcompleted = function() { - return jspb.Message.getField(this, 15) != null; -}; - - -/** - * optional EventSentEvent eventSent = 16; - * @return {?proto.EventSentEvent} - */ -proto.HistoryEvent.prototype.getEventsent = function() { - return /** @type{?proto.EventSentEvent} */ ( - jspb.Message.getWrapperField(this, proto.EventSentEvent, 16)); -}; - - -/** - * @param {?proto.EventSentEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setEventsent = function(value) { - return jspb.Message.setOneofWrapperField(this, 16, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearEventsent = function() { - return this.setEventsent(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasEventsent = function() { - return jspb.Message.getField(this, 16) != null; -}; - - -/** - * optional EventRaisedEvent eventRaised = 17; - * @return {?proto.EventRaisedEvent} - */ -proto.HistoryEvent.prototype.getEventraised = function() { - return /** @type{?proto.EventRaisedEvent} */ ( - jspb.Message.getWrapperField(this, proto.EventRaisedEvent, 17)); -}; - - -/** - * @param {?proto.EventRaisedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setEventraised = function(value) { - return jspb.Message.setOneofWrapperField(this, 17, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearEventraised = function() { - return this.setEventraised(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasEventraised = function() { - return jspb.Message.getField(this, 17) != null; -}; - - -/** - * optional GenericEvent genericEvent = 18; - * @return {?proto.GenericEvent} - */ -proto.HistoryEvent.prototype.getGenericevent = function() { - return /** @type{?proto.GenericEvent} */ ( - jspb.Message.getWrapperField(this, proto.GenericEvent, 18)); -}; - - -/** - * @param {?proto.GenericEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setGenericevent = function(value) { - return jspb.Message.setOneofWrapperField(this, 18, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearGenericevent = function() { - return this.setGenericevent(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasGenericevent = function() { - return jspb.Message.getField(this, 18) != null; -}; - - -/** - * optional HistoryStateEvent historyState = 19; - * @return {?proto.HistoryStateEvent} - */ -proto.HistoryEvent.prototype.getHistorystate = function() { - return /** @type{?proto.HistoryStateEvent} */ ( - jspb.Message.getWrapperField(this, proto.HistoryStateEvent, 19)); -}; - - -/** - * @param {?proto.HistoryStateEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setHistorystate = function(value) { - return jspb.Message.setOneofWrapperField(this, 19, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearHistorystate = function() { - return this.setHistorystate(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasHistorystate = function() { - return jspb.Message.getField(this, 19) != null; -}; - - -/** - * optional ContinueAsNewEvent continueAsNew = 20; - * @return {?proto.ContinueAsNewEvent} - */ -proto.HistoryEvent.prototype.getContinueasnew = function() { - return /** @type{?proto.ContinueAsNewEvent} */ ( - jspb.Message.getWrapperField(this, proto.ContinueAsNewEvent, 20)); -}; - - -/** - * @param {?proto.ContinueAsNewEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setContinueasnew = function(value) { - return jspb.Message.setOneofWrapperField(this, 20, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearContinueasnew = function() { - return this.setContinueasnew(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasContinueasnew = function() { - return jspb.Message.getField(this, 20) != null; -}; - - -/** - * optional ExecutionSuspendedEvent executionSuspended = 21; - * @return {?proto.ExecutionSuspendedEvent} - */ -proto.HistoryEvent.prototype.getExecutionsuspended = function() { - return /** @type{?proto.ExecutionSuspendedEvent} */ ( - jspb.Message.getWrapperField(this, proto.ExecutionSuspendedEvent, 21)); -}; - - -/** - * @param {?proto.ExecutionSuspendedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setExecutionsuspended = function(value) { - return jspb.Message.setOneofWrapperField(this, 21, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearExecutionsuspended = function() { - return this.setExecutionsuspended(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasExecutionsuspended = function() { - return jspb.Message.getField(this, 21) != null; -}; - - -/** - * optional ExecutionResumedEvent executionResumed = 22; - * @return {?proto.ExecutionResumedEvent} - */ -proto.HistoryEvent.prototype.getExecutionresumed = function() { - return /** @type{?proto.ExecutionResumedEvent} */ ( - jspb.Message.getWrapperField(this, proto.ExecutionResumedEvent, 22)); -}; - - -/** - * @param {?proto.ExecutionResumedEvent|undefined} value - * @return {!proto.HistoryEvent} returns this -*/ -proto.HistoryEvent.prototype.setExecutionresumed = function(value) { - return jspb.Message.setOneofWrapperField(this, 22, proto.HistoryEvent.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.HistoryEvent} returns this - */ -proto.HistoryEvent.prototype.clearExecutionresumed = function() { - return this.setExecutionresumed(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.HistoryEvent.prototype.hasExecutionresumed = function() { - return jspb.Message.getField(this, 22) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ScheduleTaskAction.prototype.toObject = function(opt_includeInstance) { - return proto.ScheduleTaskAction.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ScheduleTaskAction} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ScheduleTaskAction.toObject = function(includeInstance, msg) { - var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ScheduleTaskAction} - */ -proto.ScheduleTaskAction.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ScheduleTaskAction; - return proto.ScheduleTaskAction.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ScheduleTaskAction} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ScheduleTaskAction} - */ -proto.ScheduleTaskAction.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ScheduleTaskAction.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ScheduleTaskAction.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ScheduleTaskAction} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ScheduleTaskAction.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string name = 1; - * @return {string} - */ -proto.ScheduleTaskAction.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ScheduleTaskAction} returns this - */ -proto.ScheduleTaskAction.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue version = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ScheduleTaskAction.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ScheduleTaskAction} returns this -*/ -proto.ScheduleTaskAction.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ScheduleTaskAction} returns this - */ -proto.ScheduleTaskAction.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ScheduleTaskAction.prototype.hasVersion = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional google.protobuf.StringValue input = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ScheduleTaskAction.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ScheduleTaskAction} returns this -*/ -proto.ScheduleTaskAction.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ScheduleTaskAction} returns this - */ -proto.ScheduleTaskAction.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ScheduleTaskAction.prototype.hasInput = function() { - return jspb.Message.getField(this, 3) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.CreateSubOrchestrationAction.prototype.toObject = function(opt_includeInstance) { - return proto.CreateSubOrchestrationAction.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.CreateSubOrchestrationAction} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateSubOrchestrationAction.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.CreateSubOrchestrationAction} - */ -proto.CreateSubOrchestrationAction.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.CreateSubOrchestrationAction; - return proto.CreateSubOrchestrationAction.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.CreateSubOrchestrationAction} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.CreateSubOrchestrationAction} - */ -proto.CreateSubOrchestrationAction.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 4: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.CreateSubOrchestrationAction.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.CreateSubOrchestrationAction.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.CreateSubOrchestrationAction} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateSubOrchestrationAction.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 4, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.CreateSubOrchestrationAction.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.CreateSubOrchestrationAction} returns this - */ -proto.CreateSubOrchestrationAction.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.CreateSubOrchestrationAction.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.CreateSubOrchestrationAction} returns this - */ -proto.CreateSubOrchestrationAction.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue version = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.CreateSubOrchestrationAction.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.CreateSubOrchestrationAction} returns this -*/ -proto.CreateSubOrchestrationAction.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CreateSubOrchestrationAction} returns this - */ -proto.CreateSubOrchestrationAction.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CreateSubOrchestrationAction.prototype.hasVersion = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional google.protobuf.StringValue input = 4; - * @return {?proto.google.protobuf.StringValue} - */ -proto.CreateSubOrchestrationAction.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.CreateSubOrchestrationAction} returns this -*/ -proto.CreateSubOrchestrationAction.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CreateSubOrchestrationAction} returns this - */ -proto.CreateSubOrchestrationAction.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CreateSubOrchestrationAction.prototype.hasInput = function() { - return jspb.Message.getField(this, 4) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.CreateTimerAction.prototype.toObject = function(opt_includeInstance) { - return proto.CreateTimerAction.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.CreateTimerAction} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateTimerAction.toObject = function(includeInstance, msg) { - var f, obj = { - fireat: (f = msg.getFireat()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.CreateTimerAction} - */ -proto.CreateTimerAction.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.CreateTimerAction; - return proto.CreateTimerAction.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.CreateTimerAction} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.CreateTimerAction} - */ -proto.CreateTimerAction.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setFireat(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.CreateTimerAction.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.CreateTimerAction.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.CreateTimerAction} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateTimerAction.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getFireat(); - if (f != null) { - writer.writeMessage( - 1, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } -}; - - -/** - * optional google.protobuf.Timestamp fireAt = 1; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.CreateTimerAction.prototype.getFireat = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.CreateTimerAction} returns this -*/ -proto.CreateTimerAction.prototype.setFireat = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CreateTimerAction} returns this - */ -proto.CreateTimerAction.prototype.clearFireat = function() { - return this.setFireat(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CreateTimerAction.prototype.hasFireat = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.SendEventAction.prototype.toObject = function(opt_includeInstance) { - return proto.SendEventAction.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.SendEventAction} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SendEventAction.toObject = function(includeInstance, msg) { - var f, obj = { - instance: (f = msg.getInstance()) && proto.OrchestrationInstance.toObject(includeInstance, f), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - data: (f = msg.getData()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.SendEventAction} - */ -proto.SendEventAction.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.SendEventAction; - return proto.SendEventAction.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.SendEventAction} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.SendEventAction} - */ -proto.SendEventAction.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.OrchestrationInstance; - reader.readMessage(value,proto.OrchestrationInstance.deserializeBinaryFromReader); - msg.setInstance(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setData(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.SendEventAction.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.SendEventAction.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.SendEventAction} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SendEventAction.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstance(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.OrchestrationInstance.serializeBinaryToWriter - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getData(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional OrchestrationInstance instance = 1; - * @return {?proto.OrchestrationInstance} - */ -proto.SendEventAction.prototype.getInstance = function() { - return /** @type{?proto.OrchestrationInstance} */ ( - jspb.Message.getWrapperField(this, proto.OrchestrationInstance, 1)); -}; - - -/** - * @param {?proto.OrchestrationInstance|undefined} value - * @return {!proto.SendEventAction} returns this -*/ -proto.SendEventAction.prototype.setInstance = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.SendEventAction} returns this - */ -proto.SendEventAction.prototype.clearInstance = function() { - return this.setInstance(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.SendEventAction.prototype.hasInstance = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.SendEventAction.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.SendEventAction} returns this - */ -proto.SendEventAction.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue data = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.SendEventAction.prototype.getData = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.SendEventAction} returns this -*/ -proto.SendEventAction.prototype.setData = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.SendEventAction} returns this - */ -proto.SendEventAction.prototype.clearData = function() { - return this.setData(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.SendEventAction.prototype.hasData = function() { - return jspb.Message.getField(this, 3) != null; -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.CompleteOrchestrationAction.repeatedFields_ = [5]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.CompleteOrchestrationAction.prototype.toObject = function(opt_includeInstance) { - return proto.CompleteOrchestrationAction.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.CompleteOrchestrationAction} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CompleteOrchestrationAction.toObject = function(includeInstance, msg) { - var f, obj = { - orchestrationstatus: jspb.Message.getFieldWithDefault(msg, 1, 0), - result: (f = msg.getResult()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - details: (f = msg.getDetails()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - newversion: (f = msg.getNewversion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - carryovereventsList: jspb.Message.toObjectList(msg.getCarryovereventsList(), - proto.HistoryEvent.toObject, includeInstance), - failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.CompleteOrchestrationAction} - */ -proto.CompleteOrchestrationAction.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.CompleteOrchestrationAction; - return proto.CompleteOrchestrationAction.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.CompleteOrchestrationAction} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.CompleteOrchestrationAction} - */ -proto.CompleteOrchestrationAction.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {!proto.OrchestrationStatus} */ (reader.readEnum()); - msg.setOrchestrationstatus(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setResult(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setDetails(value); - break; - case 4: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setNewversion(value); - break; - case 5: - var value = new proto.HistoryEvent; - reader.readMessage(value,proto.HistoryEvent.deserializeBinaryFromReader); - msg.addCarryoverevents(value); - break; - case 6: - var value = new proto.TaskFailureDetails; - reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); - msg.setFailuredetails(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.CompleteOrchestrationAction.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.CompleteOrchestrationAction.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.CompleteOrchestrationAction} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CompleteOrchestrationAction.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getOrchestrationstatus(); - if (f !== 0.0) { - writer.writeEnum( - 1, - f - ); - } - f = message.getResult(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getDetails(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getNewversion(); - if (f != null) { - writer.writeMessage( - 4, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getCarryovereventsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 5, - f, - proto.HistoryEvent.serializeBinaryToWriter - ); - } - f = message.getFailuredetails(); - if (f != null) { - writer.writeMessage( - 6, - f, - proto.TaskFailureDetails.serializeBinaryToWriter - ); - } -}; - - -/** - * optional OrchestrationStatus orchestrationStatus = 1; - * @return {!proto.OrchestrationStatus} - */ -proto.CompleteOrchestrationAction.prototype.getOrchestrationstatus = function() { - return /** @type {!proto.OrchestrationStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {!proto.OrchestrationStatus} value - * @return {!proto.CompleteOrchestrationAction} returns this - */ -proto.CompleteOrchestrationAction.prototype.setOrchestrationstatus = function(value) { - return jspb.Message.setProto3EnumField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue result = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.CompleteOrchestrationAction.prototype.getResult = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.CompleteOrchestrationAction} returns this -*/ -proto.CompleteOrchestrationAction.prototype.setResult = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CompleteOrchestrationAction} returns this - */ -proto.CompleteOrchestrationAction.prototype.clearResult = function() { - return this.setResult(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CompleteOrchestrationAction.prototype.hasResult = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional google.protobuf.StringValue details = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.CompleteOrchestrationAction.prototype.getDetails = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.CompleteOrchestrationAction} returns this -*/ -proto.CompleteOrchestrationAction.prototype.setDetails = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CompleteOrchestrationAction} returns this - */ -proto.CompleteOrchestrationAction.prototype.clearDetails = function() { - return this.setDetails(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CompleteOrchestrationAction.prototype.hasDetails = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional google.protobuf.StringValue newVersion = 4; - * @return {?proto.google.protobuf.StringValue} - */ -proto.CompleteOrchestrationAction.prototype.getNewversion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.CompleteOrchestrationAction} returns this -*/ -proto.CompleteOrchestrationAction.prototype.setNewversion = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CompleteOrchestrationAction} returns this - */ -proto.CompleteOrchestrationAction.prototype.clearNewversion = function() { - return this.setNewversion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CompleteOrchestrationAction.prototype.hasNewversion = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * repeated HistoryEvent carryoverEvents = 5; - * @return {!Array} - */ -proto.CompleteOrchestrationAction.prototype.getCarryovereventsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.HistoryEvent, 5)); -}; - - -/** - * @param {!Array} value - * @return {!proto.CompleteOrchestrationAction} returns this -*/ -proto.CompleteOrchestrationAction.prototype.setCarryovereventsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 5, value); -}; - - -/** - * @param {!proto.HistoryEvent=} opt_value - * @param {number=} opt_index - * @return {!proto.HistoryEvent} - */ -proto.CompleteOrchestrationAction.prototype.addCarryoverevents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.HistoryEvent, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.CompleteOrchestrationAction} returns this - */ -proto.CompleteOrchestrationAction.prototype.clearCarryovereventsList = function() { - return this.setCarryovereventsList([]); -}; - - -/** - * optional TaskFailureDetails failureDetails = 6; - * @return {?proto.TaskFailureDetails} - */ -proto.CompleteOrchestrationAction.prototype.getFailuredetails = function() { - return /** @type{?proto.TaskFailureDetails} */ ( - jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 6)); -}; - - -/** - * @param {?proto.TaskFailureDetails|undefined} value - * @return {!proto.CompleteOrchestrationAction} returns this -*/ -proto.CompleteOrchestrationAction.prototype.setFailuredetails = function(value) { - return jspb.Message.setWrapperField(this, 6, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CompleteOrchestrationAction} returns this - */ -proto.CompleteOrchestrationAction.prototype.clearFailuredetails = function() { - return this.setFailuredetails(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CompleteOrchestrationAction.prototype.hasFailuredetails = function() { - return jspb.Message.getField(this, 6) != null; -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.OrchestratorAction.oneofGroups_ = [[2,3,4,5,6]]; - -/** - * @enum {number} - */ -proto.OrchestratorAction.OrchestratoractiontypeCase = { - ORCHESTRATORACTIONTYPE_NOT_SET: 0, - SCHEDULETASK: 2, - CREATESUBORCHESTRATION: 3, - CREATETIMER: 4, - SENDEVENT: 5, - COMPLETEORCHESTRATION: 6 -}; - -/** - * @return {proto.OrchestratorAction.OrchestratoractiontypeCase} - */ -proto.OrchestratorAction.prototype.getOrchestratoractiontypeCase = function() { - return /** @type {proto.OrchestratorAction.OrchestratoractiontypeCase} */(jspb.Message.computeOneofCase(this, proto.OrchestratorAction.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.OrchestratorAction.prototype.toObject = function(opt_includeInstance) { - return proto.OrchestratorAction.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.OrchestratorAction} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorAction.toObject = function(includeInstance, msg) { - var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - scheduletask: (f = msg.getScheduletask()) && proto.ScheduleTaskAction.toObject(includeInstance, f), - createsuborchestration: (f = msg.getCreatesuborchestration()) && proto.CreateSubOrchestrationAction.toObject(includeInstance, f), - createtimer: (f = msg.getCreatetimer()) && proto.CreateTimerAction.toObject(includeInstance, f), - sendevent: (f = msg.getSendevent()) && proto.SendEventAction.toObject(includeInstance, f), - completeorchestration: (f = msg.getCompleteorchestration()) && proto.CompleteOrchestrationAction.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.OrchestratorAction} - */ -proto.OrchestratorAction.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.OrchestratorAction; - return proto.OrchestratorAction.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.OrchestratorAction} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.OrchestratorAction} - */ -proto.OrchestratorAction.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setId(value); - break; - case 2: - var value = new proto.ScheduleTaskAction; - reader.readMessage(value,proto.ScheduleTaskAction.deserializeBinaryFromReader); - msg.setScheduletask(value); - break; - case 3: - var value = new proto.CreateSubOrchestrationAction; - reader.readMessage(value,proto.CreateSubOrchestrationAction.deserializeBinaryFromReader); - msg.setCreatesuborchestration(value); - break; - case 4: - var value = new proto.CreateTimerAction; - reader.readMessage(value,proto.CreateTimerAction.deserializeBinaryFromReader); - msg.setCreatetimer(value); - break; - case 5: - var value = new proto.SendEventAction; - reader.readMessage(value,proto.SendEventAction.deserializeBinaryFromReader); - msg.setSendevent(value); - break; - case 6: - var value = new proto.CompleteOrchestrationAction; - reader.readMessage(value,proto.CompleteOrchestrationAction.deserializeBinaryFromReader); - msg.setCompleteorchestration(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.OrchestratorAction.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.OrchestratorAction.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.OrchestratorAction} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorAction.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getId(); - if (f !== 0) { - writer.writeInt32( - 1, - f - ); - } - f = message.getScheduletask(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.ScheduleTaskAction.serializeBinaryToWriter - ); - } - f = message.getCreatesuborchestration(); - if (f != null) { - writer.writeMessage( - 3, - f, - proto.CreateSubOrchestrationAction.serializeBinaryToWriter - ); - } - f = message.getCreatetimer(); - if (f != null) { - writer.writeMessage( - 4, - f, - proto.CreateTimerAction.serializeBinaryToWriter - ); - } - f = message.getSendevent(); - if (f != null) { - writer.writeMessage( - 5, - f, - proto.SendEventAction.serializeBinaryToWriter - ); - } - f = message.getCompleteorchestration(); - if (f != null) { - writer.writeMessage( - 6, - f, - proto.CompleteOrchestrationAction.serializeBinaryToWriter - ); - } -}; - - -/** - * optional int32 id = 1; - * @return {number} - */ -proto.OrchestratorAction.prototype.getId = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.OrchestratorAction} returns this - */ -proto.OrchestratorAction.prototype.setId = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - -/** - * optional ScheduleTaskAction scheduleTask = 2; - * @return {?proto.ScheduleTaskAction} - */ -proto.OrchestratorAction.prototype.getScheduletask = function() { - return /** @type{?proto.ScheduleTaskAction} */ ( - jspb.Message.getWrapperField(this, proto.ScheduleTaskAction, 2)); -}; - - -/** - * @param {?proto.ScheduleTaskAction|undefined} value - * @return {!proto.OrchestratorAction} returns this -*/ -proto.OrchestratorAction.prototype.setScheduletask = function(value) { - return jspb.Message.setOneofWrapperField(this, 2, proto.OrchestratorAction.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestratorAction} returns this - */ -proto.OrchestratorAction.prototype.clearScheduletask = function() { - return this.setScheduletask(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestratorAction.prototype.hasScheduletask = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional CreateSubOrchestrationAction createSubOrchestration = 3; - * @return {?proto.CreateSubOrchestrationAction} - */ -proto.OrchestratorAction.prototype.getCreatesuborchestration = function() { - return /** @type{?proto.CreateSubOrchestrationAction} */ ( - jspb.Message.getWrapperField(this, proto.CreateSubOrchestrationAction, 3)); -}; - - -/** - * @param {?proto.CreateSubOrchestrationAction|undefined} value - * @return {!proto.OrchestratorAction} returns this -*/ -proto.OrchestratorAction.prototype.setCreatesuborchestration = function(value) { - return jspb.Message.setOneofWrapperField(this, 3, proto.OrchestratorAction.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestratorAction} returns this - */ -proto.OrchestratorAction.prototype.clearCreatesuborchestration = function() { - return this.setCreatesuborchestration(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestratorAction.prototype.hasCreatesuborchestration = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional CreateTimerAction createTimer = 4; - * @return {?proto.CreateTimerAction} - */ -proto.OrchestratorAction.prototype.getCreatetimer = function() { - return /** @type{?proto.CreateTimerAction} */ ( - jspb.Message.getWrapperField(this, proto.CreateTimerAction, 4)); -}; - - -/** - * @param {?proto.CreateTimerAction|undefined} value - * @return {!proto.OrchestratorAction} returns this -*/ -proto.OrchestratorAction.prototype.setCreatetimer = function(value) { - return jspb.Message.setOneofWrapperField(this, 4, proto.OrchestratorAction.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestratorAction} returns this - */ -proto.OrchestratorAction.prototype.clearCreatetimer = function() { - return this.setCreatetimer(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestratorAction.prototype.hasCreatetimer = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional SendEventAction sendEvent = 5; - * @return {?proto.SendEventAction} - */ -proto.OrchestratorAction.prototype.getSendevent = function() { - return /** @type{?proto.SendEventAction} */ ( - jspb.Message.getWrapperField(this, proto.SendEventAction, 5)); -}; - - -/** - * @param {?proto.SendEventAction|undefined} value - * @return {!proto.OrchestratorAction} returns this -*/ -proto.OrchestratorAction.prototype.setSendevent = function(value) { - return jspb.Message.setOneofWrapperField(this, 5, proto.OrchestratorAction.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestratorAction} returns this - */ -proto.OrchestratorAction.prototype.clearSendevent = function() { - return this.setSendevent(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestratorAction.prototype.hasSendevent = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional CompleteOrchestrationAction completeOrchestration = 6; - * @return {?proto.CompleteOrchestrationAction} - */ -proto.OrchestratorAction.prototype.getCompleteorchestration = function() { - return /** @type{?proto.CompleteOrchestrationAction} */ ( - jspb.Message.getWrapperField(this, proto.CompleteOrchestrationAction, 6)); -}; - - -/** - * @param {?proto.CompleteOrchestrationAction|undefined} value - * @return {!proto.OrchestratorAction} returns this -*/ -proto.OrchestratorAction.prototype.setCompleteorchestration = function(value) { - return jspb.Message.setOneofWrapperField(this, 6, proto.OrchestratorAction.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestratorAction} returns this - */ -proto.OrchestratorAction.prototype.clearCompleteorchestration = function() { - return this.setCompleteorchestration(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestratorAction.prototype.hasCompleteorchestration = function() { - return jspb.Message.getField(this, 6) != null; -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.OrchestratorRequest.repeatedFields_ = [3,4]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.OrchestratorRequest.prototype.toObject = function(opt_includeInstance) { - return proto.OrchestratorRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.OrchestratorRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - executionid: (f = msg.getExecutionid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - pasteventsList: jspb.Message.toObjectList(msg.getPasteventsList(), - proto.HistoryEvent.toObject, includeInstance), - neweventsList: jspb.Message.toObjectList(msg.getNeweventsList(), - proto.HistoryEvent.toObject, includeInstance) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.OrchestratorRequest} - */ -proto.OrchestratorRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.OrchestratorRequest; - return proto.OrchestratorRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.OrchestratorRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.OrchestratorRequest} - */ -proto.OrchestratorRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setExecutionid(value); - break; - case 3: - var value = new proto.HistoryEvent; - reader.readMessage(value,proto.HistoryEvent.deserializeBinaryFromReader); - msg.addPastevents(value); - break; - case 4: - var value = new proto.HistoryEvent; - reader.readMessage(value,proto.HistoryEvent.deserializeBinaryFromReader); - msg.addNewevents(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.OrchestratorRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.OrchestratorRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.OrchestratorRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getExecutionid(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getPasteventsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 3, - f, - proto.HistoryEvent.serializeBinaryToWriter - ); - } - f = message.getNeweventsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 4, - f, - proto.HistoryEvent.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.OrchestratorRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.OrchestratorRequest} returns this - */ -proto.OrchestratorRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue executionId = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.OrchestratorRequest.prototype.getExecutionid = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.OrchestratorRequest} returns this -*/ -proto.OrchestratorRequest.prototype.setExecutionid = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestratorRequest} returns this - */ -proto.OrchestratorRequest.prototype.clearExecutionid = function() { - return this.setExecutionid(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestratorRequest.prototype.hasExecutionid = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * repeated HistoryEvent pastEvents = 3; - * @return {!Array} - */ -proto.OrchestratorRequest.prototype.getPasteventsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.HistoryEvent, 3)); -}; - - -/** - * @param {!Array} value - * @return {!proto.OrchestratorRequest} returns this -*/ -proto.OrchestratorRequest.prototype.setPasteventsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 3, value); -}; - - -/** - * @param {!proto.HistoryEvent=} opt_value - * @param {number=} opt_index - * @return {!proto.HistoryEvent} - */ -proto.OrchestratorRequest.prototype.addPastevents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.HistoryEvent, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.OrchestratorRequest} returns this - */ -proto.OrchestratorRequest.prototype.clearPasteventsList = function() { - return this.setPasteventsList([]); -}; - - -/** - * repeated HistoryEvent newEvents = 4; - * @return {!Array} - */ -proto.OrchestratorRequest.prototype.getNeweventsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.HistoryEvent, 4)); -}; - - -/** - * @param {!Array} value - * @return {!proto.OrchestratorRequest} returns this -*/ -proto.OrchestratorRequest.prototype.setNeweventsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 4, value); -}; - - -/** - * @param {!proto.HistoryEvent=} opt_value - * @param {number=} opt_index - * @return {!proto.HistoryEvent} - */ -proto.OrchestratorRequest.prototype.addNewevents = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.HistoryEvent, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.OrchestratorRequest} returns this - */ -proto.OrchestratorRequest.prototype.clearNeweventsList = function() { - return this.setNeweventsList([]); -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.OrchestratorResponse.repeatedFields_ = [2]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.OrchestratorResponse.prototype.toObject = function(opt_includeInstance) { - return proto.OrchestratorResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.OrchestratorResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorResponse.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - actionsList: jspb.Message.toObjectList(msg.getActionsList(), - proto.OrchestratorAction.toObject, includeInstance), - customstatus: (f = msg.getCustomstatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.OrchestratorResponse} - */ -proto.OrchestratorResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.OrchestratorResponse; - return proto.OrchestratorResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.OrchestratorResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.OrchestratorResponse} - */ -proto.OrchestratorResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = new proto.OrchestratorAction; - reader.readMessage(value,proto.OrchestratorAction.deserializeBinaryFromReader); - msg.addActions(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setCustomstatus(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.OrchestratorResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.OrchestratorResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.OrchestratorResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestratorResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getActionsList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 2, - f, - proto.OrchestratorAction.serializeBinaryToWriter - ); - } - f = message.getCustomstatus(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.OrchestratorResponse.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.OrchestratorResponse} returns this - */ -proto.OrchestratorResponse.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * repeated OrchestratorAction actions = 2; - * @return {!Array} - */ -proto.OrchestratorResponse.prototype.getActionsList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.OrchestratorAction, 2)); -}; - - -/** - * @param {!Array} value - * @return {!proto.OrchestratorResponse} returns this -*/ -proto.OrchestratorResponse.prototype.setActionsList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 2, value); -}; - - -/** - * @param {!proto.OrchestratorAction=} opt_value - * @param {number=} opt_index - * @return {!proto.OrchestratorAction} - */ -proto.OrchestratorResponse.prototype.addActions = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.OrchestratorAction, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.OrchestratorResponse} returns this - */ -proto.OrchestratorResponse.prototype.clearActionsList = function() { - return this.setActionsList([]); -}; - - -/** - * optional google.protobuf.StringValue customStatus = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.OrchestratorResponse.prototype.getCustomstatus = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.OrchestratorResponse} returns this -*/ -proto.OrchestratorResponse.prototype.setCustomstatus = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestratorResponse} returns this - */ -proto.OrchestratorResponse.prototype.clearCustomstatus = function() { - return this.setCustomstatus(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestratorResponse.prototype.hasCustomstatus = function() { - return jspb.Message.getField(this, 3) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.CreateInstanceRequest.prototype.toObject = function(opt_includeInstance) { - return proto.CreateInstanceRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.CreateInstanceRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateInstanceRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - scheduledstarttimestamp: (f = msg.getScheduledstarttimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.CreateInstanceRequest} - */ -proto.CreateInstanceRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.CreateInstanceRequest; - return proto.CreateInstanceRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.CreateInstanceRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.CreateInstanceRequest} - */ -proto.CreateInstanceRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 4: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - case 5: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setScheduledstarttimestamp(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.CreateInstanceRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.CreateInstanceRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.CreateInstanceRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateInstanceRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 4, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getScheduledstarttimestamp(); - if (f != null) { - writer.writeMessage( - 5, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.CreateInstanceRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.CreateInstanceRequest} returns this - */ -proto.CreateInstanceRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.CreateInstanceRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.CreateInstanceRequest} returns this - */ -proto.CreateInstanceRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue version = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.CreateInstanceRequest.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.CreateInstanceRequest} returns this -*/ -proto.CreateInstanceRequest.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CreateInstanceRequest} returns this - */ -proto.CreateInstanceRequest.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CreateInstanceRequest.prototype.hasVersion = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional google.protobuf.StringValue input = 4; - * @return {?proto.google.protobuf.StringValue} - */ -proto.CreateInstanceRequest.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.CreateInstanceRequest} returns this -*/ -proto.CreateInstanceRequest.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 4, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CreateInstanceRequest} returns this - */ -proto.CreateInstanceRequest.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CreateInstanceRequest.prototype.hasInput = function() { - return jspb.Message.getField(this, 4) != null; -}; - - -/** - * optional google.protobuf.Timestamp scheduledStartTimestamp = 5; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.CreateInstanceRequest.prototype.getScheduledstarttimestamp = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.CreateInstanceRequest} returns this -*/ -proto.CreateInstanceRequest.prototype.setScheduledstarttimestamp = function(value) { - return jspb.Message.setWrapperField(this, 5, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.CreateInstanceRequest} returns this - */ -proto.CreateInstanceRequest.prototype.clearScheduledstarttimestamp = function() { - return this.setScheduledstarttimestamp(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.CreateInstanceRequest.prototype.hasScheduledstarttimestamp = function() { - return jspb.Message.getField(this, 5) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.CreateInstanceResponse.prototype.toObject = function(opt_includeInstance) { - return proto.CreateInstanceResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.CreateInstanceResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateInstanceResponse.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, "") - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.CreateInstanceResponse} - */ -proto.CreateInstanceResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.CreateInstanceResponse; - return proto.CreateInstanceResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.CreateInstanceResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.CreateInstanceResponse} - */ -proto.CreateInstanceResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.CreateInstanceResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.CreateInstanceResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.CreateInstanceResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateInstanceResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.CreateInstanceResponse.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.CreateInstanceResponse} returns this - */ -proto.CreateInstanceResponse.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.GetInstanceRequest.prototype.toObject = function(opt_includeInstance) { - return proto.GetInstanceRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.GetInstanceRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.GetInstanceRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - getinputsandoutputs: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.GetInstanceRequest} - */ -proto.GetInstanceRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.GetInstanceRequest; - return proto.GetInstanceRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.GetInstanceRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.GetInstanceRequest} - */ -proto.GetInstanceRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setGetinputsandoutputs(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.GetInstanceRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.GetInstanceRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.GetInstanceRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.GetInstanceRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getGetinputsandoutputs(); - if (f) { - writer.writeBool( - 2, - f - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.GetInstanceRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.GetInstanceRequest} returns this - */ -proto.GetInstanceRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional bool getInputsAndOutputs = 2; - * @return {boolean} - */ -proto.GetInstanceRequest.prototype.getGetinputsandoutputs = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.GetInstanceRequest} returns this - */ -proto.GetInstanceRequest.prototype.setGetinputsandoutputs = function(value) { - return jspb.Message.setProto3BooleanField(this, 2, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.GetInstanceResponse.prototype.toObject = function(opt_includeInstance) { - return proto.GetInstanceResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.GetInstanceResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.GetInstanceResponse.toObject = function(includeInstance, msg) { - var f, obj = { - exists: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), - orchestrationstate: (f = msg.getOrchestrationstate()) && proto.OrchestrationState.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.GetInstanceResponse} - */ -proto.GetInstanceResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.GetInstanceResponse; - return proto.GetInstanceResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.GetInstanceResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.GetInstanceResponse} - */ -proto.GetInstanceResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setExists(value); - break; - case 2: - var value = new proto.OrchestrationState; - reader.readMessage(value,proto.OrchestrationState.deserializeBinaryFromReader); - msg.setOrchestrationstate(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.GetInstanceResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.GetInstanceResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.GetInstanceResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.GetInstanceResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getExists(); - if (f) { - writer.writeBool( - 1, - f - ); - } - f = message.getOrchestrationstate(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.OrchestrationState.serializeBinaryToWriter - ); - } -}; - - -/** - * optional bool exists = 1; - * @return {boolean} - */ -proto.GetInstanceResponse.prototype.getExists = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.GetInstanceResponse} returns this - */ -proto.GetInstanceResponse.prototype.setExists = function(value) { - return jspb.Message.setProto3BooleanField(this, 1, value); -}; - - -/** - * optional OrchestrationState orchestrationState = 2; - * @return {?proto.OrchestrationState} - */ -proto.GetInstanceResponse.prototype.getOrchestrationstate = function() { - return /** @type{?proto.OrchestrationState} */ ( - jspb.Message.getWrapperField(this, proto.OrchestrationState, 2)); -}; - - -/** - * @param {?proto.OrchestrationState|undefined} value - * @return {!proto.GetInstanceResponse} returns this -*/ -proto.GetInstanceResponse.prototype.setOrchestrationstate = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.GetInstanceResponse} returns this - */ -proto.GetInstanceResponse.prototype.clearOrchestrationstate = function() { - return this.setOrchestrationstate(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.GetInstanceResponse.prototype.hasOrchestrationstate = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.RewindInstanceRequest.prototype.toObject = function(opt_includeInstance) { - return proto.RewindInstanceRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.RewindInstanceRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.RewindInstanceRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.RewindInstanceRequest} - */ -proto.RewindInstanceRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.RewindInstanceRequest; - return proto.RewindInstanceRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.RewindInstanceRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.RewindInstanceRequest} - */ -proto.RewindInstanceRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setReason(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.RewindInstanceRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.RewindInstanceRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.RewindInstanceRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.RewindInstanceRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getReason(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.RewindInstanceRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.RewindInstanceRequest} returns this - */ -proto.RewindInstanceRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue reason = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.RewindInstanceRequest.prototype.getReason = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.RewindInstanceRequest} returns this -*/ -proto.RewindInstanceRequest.prototype.setReason = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.RewindInstanceRequest} returns this - */ -proto.RewindInstanceRequest.prototype.clearReason = function() { - return this.setReason(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.RewindInstanceRequest.prototype.hasReason = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.RewindInstanceResponse.prototype.toObject = function(opt_includeInstance) { - return proto.RewindInstanceResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.RewindInstanceResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.RewindInstanceResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.RewindInstanceResponse} - */ -proto.RewindInstanceResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.RewindInstanceResponse; - return proto.RewindInstanceResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.RewindInstanceResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.RewindInstanceResponse} - */ -proto.RewindInstanceResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.RewindInstanceResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.RewindInstanceResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.RewindInstanceResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.RewindInstanceResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.OrchestrationState.prototype.toObject = function(opt_includeInstance) { - return proto.OrchestrationState.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.OrchestrationState} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestrationState.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - version: (f = msg.getVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - orchestrationstatus: jspb.Message.getFieldWithDefault(msg, 4, 0), - scheduledstarttimestamp: (f = msg.getScheduledstarttimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - createdtimestamp: (f = msg.getCreatedtimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - lastupdatedtimestamp: (f = msg.getLastupdatedtimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - output: (f = msg.getOutput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - customstatus: (f = msg.getCustomstatus()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - failuredetails: (f = msg.getFailuredetails()) && proto.TaskFailureDetails.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.OrchestrationState} - */ -proto.OrchestrationState.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.OrchestrationState; - return proto.OrchestrationState.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.OrchestrationState} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.OrchestrationState} - */ -proto.OrchestrationState.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setVersion(value); - break; - case 4: - var value = /** @type {!proto.OrchestrationStatus} */ (reader.readEnum()); - msg.setOrchestrationstatus(value); - break; - case 5: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setScheduledstarttimestamp(value); - break; - case 6: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setCreatedtimestamp(value); - break; - case 7: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setLastupdatedtimestamp(value); - break; - case 8: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - case 9: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setOutput(value); - break; - case 10: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setCustomstatus(value); - break; - case 11: - var value = new proto.TaskFailureDetails; - reader.readMessage(value,proto.TaskFailureDetails.deserializeBinaryFromReader); - msg.setFailuredetails(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.OrchestrationState.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.OrchestrationState.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.OrchestrationState} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.OrchestrationState.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getVersion(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getOrchestrationstatus(); - if (f !== 0.0) { - writer.writeEnum( - 4, - f - ); - } - f = message.getScheduledstarttimestamp(); - if (f != null) { - writer.writeMessage( - 5, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getCreatedtimestamp(); - if (f != null) { - writer.writeMessage( - 6, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getLastupdatedtimestamp(); - if (f != null) { - writer.writeMessage( - 7, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 8, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getOutput(); - if (f != null) { - writer.writeMessage( - 9, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getCustomstatus(); - if (f != null) { - writer.writeMessage( - 10, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getFailuredetails(); - if (f != null) { - writer.writeMessage( - 11, - f, - proto.TaskFailureDetails.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.OrchestrationState.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.OrchestrationState.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue version = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.OrchestrationState.prototype.getVersion = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.OrchestrationState} returns this -*/ -proto.OrchestrationState.prototype.setVersion = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.clearVersion = function() { - return this.setVersion(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationState.prototype.hasVersion = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * optional OrchestrationStatus orchestrationStatus = 4; - * @return {!proto.OrchestrationStatus} - */ -proto.OrchestrationState.prototype.getOrchestrationstatus = function() { - return /** @type {!proto.OrchestrationStatus} */ (jspb.Message.getFieldWithDefault(this, 4, 0)); -}; - - -/** - * @param {!proto.OrchestrationStatus} value - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.setOrchestrationstatus = function(value) { - return jspb.Message.setProto3EnumField(this, 4, value); -}; - - -/** - * optional google.protobuf.Timestamp scheduledStartTimestamp = 5; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.OrchestrationState.prototype.getScheduledstarttimestamp = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.OrchestrationState} returns this -*/ -proto.OrchestrationState.prototype.setScheduledstarttimestamp = function(value) { - return jspb.Message.setWrapperField(this, 5, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.clearScheduledstarttimestamp = function() { - return this.setScheduledstarttimestamp(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationState.prototype.hasScheduledstarttimestamp = function() { - return jspb.Message.getField(this, 5) != null; -}; - - -/** - * optional google.protobuf.Timestamp createdTimestamp = 6; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.OrchestrationState.prototype.getCreatedtimestamp = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.OrchestrationState} returns this -*/ -proto.OrchestrationState.prototype.setCreatedtimestamp = function(value) { - return jspb.Message.setWrapperField(this, 6, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.clearCreatedtimestamp = function() { - return this.setCreatedtimestamp(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationState.prototype.hasCreatedtimestamp = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional google.protobuf.Timestamp lastUpdatedTimestamp = 7; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.OrchestrationState.prototype.getLastupdatedtimestamp = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.OrchestrationState} returns this -*/ -proto.OrchestrationState.prototype.setLastupdatedtimestamp = function(value) { - return jspb.Message.setWrapperField(this, 7, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.clearLastupdatedtimestamp = function() { - return this.setLastupdatedtimestamp(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationState.prototype.hasLastupdatedtimestamp = function() { - return jspb.Message.getField(this, 7) != null; -}; - - -/** - * optional google.protobuf.StringValue input = 8; - * @return {?proto.google.protobuf.StringValue} - */ -proto.OrchestrationState.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.OrchestrationState} returns this -*/ -proto.OrchestrationState.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 8, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationState.prototype.hasInput = function() { - return jspb.Message.getField(this, 8) != null; -}; - - -/** - * optional google.protobuf.StringValue output = 9; - * @return {?proto.google.protobuf.StringValue} - */ -proto.OrchestrationState.prototype.getOutput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.OrchestrationState} returns this -*/ -proto.OrchestrationState.prototype.setOutput = function(value) { - return jspb.Message.setWrapperField(this, 9, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.clearOutput = function() { - return this.setOutput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationState.prototype.hasOutput = function() { - return jspb.Message.getField(this, 9) != null; -}; - - -/** - * optional google.protobuf.StringValue customStatus = 10; - * @return {?proto.google.protobuf.StringValue} - */ -proto.OrchestrationState.prototype.getCustomstatus = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.OrchestrationState} returns this -*/ -proto.OrchestrationState.prototype.setCustomstatus = function(value) { - return jspb.Message.setWrapperField(this, 10, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.clearCustomstatus = function() { - return this.setCustomstatus(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationState.prototype.hasCustomstatus = function() { - return jspb.Message.getField(this, 10) != null; -}; - - -/** - * optional TaskFailureDetails failureDetails = 11; - * @return {?proto.TaskFailureDetails} - */ -proto.OrchestrationState.prototype.getFailuredetails = function() { - return /** @type{?proto.TaskFailureDetails} */ ( - jspb.Message.getWrapperField(this, proto.TaskFailureDetails, 11)); -}; - - -/** - * @param {?proto.TaskFailureDetails|undefined} value - * @return {!proto.OrchestrationState} returns this -*/ -proto.OrchestrationState.prototype.setFailuredetails = function(value) { - return jspb.Message.setWrapperField(this, 11, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.OrchestrationState} returns this - */ -proto.OrchestrationState.prototype.clearFailuredetails = function() { - return this.setFailuredetails(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.OrchestrationState.prototype.hasFailuredetails = function() { - return jspb.Message.getField(this, 11) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.RaiseEventRequest.prototype.toObject = function(opt_includeInstance) { - return proto.RaiseEventRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.RaiseEventRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.RaiseEventRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - input: (f = msg.getInput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.RaiseEventRequest} - */ -proto.RaiseEventRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.RaiseEventRequest; - return proto.RaiseEventRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.RaiseEventRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.RaiseEventRequest} - */ -proto.RaiseEventRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = /** @type {string} */ (reader.readString()); - msg.setName(value); - break; - case 3: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.RaiseEventRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.RaiseEventRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.RaiseEventRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.RaiseEventRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getName(); - if (f.length > 0) { - writer.writeString( - 2, - f - ); - } - f = message.getInput(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.RaiseEventRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.RaiseEventRequest} returns this - */ -proto.RaiseEventRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional string name = 2; - * @return {string} - */ -proto.RaiseEventRequest.prototype.getName = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); -}; - - -/** - * @param {string} value - * @return {!proto.RaiseEventRequest} returns this - */ -proto.RaiseEventRequest.prototype.setName = function(value) { - return jspb.Message.setProto3StringField(this, 2, value); -}; - - -/** - * optional google.protobuf.StringValue input = 3; - * @return {?proto.google.protobuf.StringValue} - */ -proto.RaiseEventRequest.prototype.getInput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.RaiseEventRequest} returns this -*/ -proto.RaiseEventRequest.prototype.setInput = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.RaiseEventRequest} returns this - */ -proto.RaiseEventRequest.prototype.clearInput = function() { - return this.setInput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.RaiseEventRequest.prototype.hasInput = function() { - return jspb.Message.getField(this, 3) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.RaiseEventResponse.prototype.toObject = function(opt_includeInstance) { - return proto.RaiseEventResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.RaiseEventResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.RaiseEventResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.RaiseEventResponse} - */ -proto.RaiseEventResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.RaiseEventResponse; - return proto.RaiseEventResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.RaiseEventResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.RaiseEventResponse} - */ -proto.RaiseEventResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.RaiseEventResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.RaiseEventResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.RaiseEventResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.RaiseEventResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.TerminateRequest.prototype.toObject = function(opt_includeInstance) { - return proto.TerminateRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.TerminateRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TerminateRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - output: (f = msg.getOutput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.TerminateRequest} - */ -proto.TerminateRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.TerminateRequest; - return proto.TerminateRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.TerminateRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.TerminateRequest} - */ -proto.TerminateRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setOutput(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.TerminateRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.TerminateRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.TerminateRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TerminateRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getOutput(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.TerminateRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.TerminateRequest} returns this - */ -proto.TerminateRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue output = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.TerminateRequest.prototype.getOutput = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.TerminateRequest} returns this -*/ -proto.TerminateRequest.prototype.setOutput = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.TerminateRequest} returns this - */ -proto.TerminateRequest.prototype.clearOutput = function() { - return this.setOutput(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.TerminateRequest.prototype.hasOutput = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.TerminateResponse.prototype.toObject = function(opt_includeInstance) { - return proto.TerminateResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.TerminateResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TerminateResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.TerminateResponse} - */ -proto.TerminateResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.TerminateResponse; - return proto.TerminateResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.TerminateResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.TerminateResponse} - */ -proto.TerminateResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.TerminateResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.TerminateResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.TerminateResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.TerminateResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.SuspendRequest.prototype.toObject = function(opt_includeInstance) { - return proto.SuspendRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.SuspendRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SuspendRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.SuspendRequest} - */ -proto.SuspendRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.SuspendRequest; - return proto.SuspendRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.SuspendRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.SuspendRequest} - */ -proto.SuspendRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setReason(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.SuspendRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.SuspendRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.SuspendRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SuspendRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getReason(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.SuspendRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.SuspendRequest} returns this - */ -proto.SuspendRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue reason = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.SuspendRequest.prototype.getReason = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.SuspendRequest} returns this -*/ -proto.SuspendRequest.prototype.setReason = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.SuspendRequest} returns this - */ -proto.SuspendRequest.prototype.clearReason = function() { - return this.setReason(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.SuspendRequest.prototype.hasReason = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.SuspendResponse.prototype.toObject = function(opt_includeInstance) { - return proto.SuspendResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.SuspendResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SuspendResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.SuspendResponse} - */ -proto.SuspendResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.SuspendResponse; - return proto.SuspendResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.SuspendResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.SuspendResponse} - */ -proto.SuspendResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.SuspendResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.SuspendResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.SuspendResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.SuspendResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ResumeRequest.prototype.toObject = function(opt_includeInstance) { - return proto.ResumeRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ResumeRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ResumeRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - reason: (f = msg.getReason()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ResumeRequest} - */ -proto.ResumeRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ResumeRequest; - return proto.ResumeRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ResumeRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ResumeRequest} - */ -proto.ResumeRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setReason(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ResumeRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ResumeRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ResumeRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ResumeRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getInstanceid(); - if (f.length > 0) { - writer.writeString( - 1, - f - ); - } - f = message.getReason(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.ResumeRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.ResumeRequest} returns this - */ -proto.ResumeRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setProto3StringField(this, 1, value); -}; - - -/** - * optional google.protobuf.StringValue reason = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.ResumeRequest.prototype.getReason = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.ResumeRequest} returns this -*/ -proto.ResumeRequest.prototype.setReason = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.ResumeRequest} returns this - */ -proto.ResumeRequest.prototype.clearReason = function() { - return this.setReason(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.ResumeRequest.prototype.hasReason = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.ResumeResponse.prototype.toObject = function(opt_includeInstance) { - return proto.ResumeResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.ResumeResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ResumeResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.ResumeResponse} - */ -proto.ResumeResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.ResumeResponse; - return proto.ResumeResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.ResumeResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.ResumeResponse} - */ -proto.ResumeResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.ResumeResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.ResumeResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.ResumeResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.ResumeResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.QueryInstancesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.QueryInstancesRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.QueryInstancesRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.QueryInstancesRequest.toObject = function(includeInstance, msg) { - var f, obj = { - query: (f = msg.getQuery()) && proto.InstanceQuery.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.QueryInstancesRequest} - */ -proto.QueryInstancesRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.QueryInstancesRequest; - return proto.QueryInstancesRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.QueryInstancesRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.QueryInstancesRequest} - */ -proto.QueryInstancesRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.InstanceQuery; - reader.readMessage(value,proto.InstanceQuery.deserializeBinaryFromReader); - msg.setQuery(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.QueryInstancesRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.QueryInstancesRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.QueryInstancesRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.QueryInstancesRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getQuery(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.InstanceQuery.serializeBinaryToWriter - ); - } -}; - - -/** - * optional InstanceQuery query = 1; - * @return {?proto.InstanceQuery} - */ -proto.QueryInstancesRequest.prototype.getQuery = function() { - return /** @type{?proto.InstanceQuery} */ ( - jspb.Message.getWrapperField(this, proto.InstanceQuery, 1)); -}; - - -/** - * @param {?proto.InstanceQuery|undefined} value - * @return {!proto.QueryInstancesRequest} returns this -*/ -proto.QueryInstancesRequest.prototype.setQuery = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.QueryInstancesRequest} returns this - */ -proto.QueryInstancesRequest.prototype.clearQuery = function() { - return this.setQuery(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.QueryInstancesRequest.prototype.hasQuery = function() { - return jspb.Message.getField(this, 1) != null; -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.InstanceQuery.repeatedFields_ = [1,4]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.InstanceQuery.prototype.toObject = function(opt_includeInstance) { - return proto.InstanceQuery.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.InstanceQuery} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.InstanceQuery.toObject = function(includeInstance, msg) { - var f, obj = { - runtimestatusList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, - createdtimefrom: (f = msg.getCreatedtimefrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - createdtimeto: (f = msg.getCreatedtimeto()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - taskhubnamesList: jspb.Message.toObjectList(msg.getTaskhubnamesList(), - google_protobuf_wrappers_pb.StringValue.toObject, includeInstance), - maxinstancecount: jspb.Message.getFieldWithDefault(msg, 5, 0), - continuationtoken: (f = msg.getContinuationtoken()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - instanceidprefix: (f = msg.getInstanceidprefix()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f), - fetchinputsandoutputs: jspb.Message.getBooleanFieldWithDefault(msg, 8, false) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.InstanceQuery} - */ -proto.InstanceQuery.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.InstanceQuery; - return proto.InstanceQuery.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.InstanceQuery} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.InstanceQuery} - */ -proto.InstanceQuery.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); - for (var i = 0; i < values.length; i++) { - msg.addRuntimestatus(values[i]); - } - break; - case 2: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setCreatedtimefrom(value); - break; - case 3: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setCreatedtimeto(value); - break; - case 4: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.addTaskhubnames(value); - break; - case 5: - var value = /** @type {number} */ (reader.readInt32()); - msg.setMaxinstancecount(value); - break; - case 6: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setContinuationtoken(value); - break; - case 7: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setInstanceidprefix(value); - break; - case 8: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setFetchinputsandoutputs(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.InstanceQuery.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.InstanceQuery.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.InstanceQuery} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.InstanceQuery.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getRuntimestatusList(); - if (f.length > 0) { - writer.writePackedEnum( - 1, - f - ); - } - f = message.getCreatedtimefrom(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getCreatedtimeto(); - if (f != null) { - writer.writeMessage( - 3, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getTaskhubnamesList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 4, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getMaxinstancecount(); - if (f !== 0) { - writer.writeInt32( - 5, - f - ); - } - f = message.getContinuationtoken(); - if (f != null) { - writer.writeMessage( - 6, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getInstanceidprefix(); - if (f != null) { - writer.writeMessage( - 7, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } - f = message.getFetchinputsandoutputs(); - if (f) { - writer.writeBool( - 8, - f - ); - } -}; - - -/** - * repeated OrchestrationStatus runtimeStatus = 1; - * @return {!Array} - */ -proto.InstanceQuery.prototype.getRuntimestatusList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.setRuntimestatusList = function(value) { - return jspb.Message.setField(this, 1, value || []); -}; - - -/** - * @param {!proto.OrchestrationStatus} value - * @param {number=} opt_index - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.addRuntimestatus = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 1, value, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.clearRuntimestatusList = function() { - return this.setRuntimestatusList([]); -}; - - -/** - * optional google.protobuf.Timestamp createdTimeFrom = 2; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.InstanceQuery.prototype.getCreatedtimefrom = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.InstanceQuery} returns this -*/ -proto.InstanceQuery.prototype.setCreatedtimefrom = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.clearCreatedtimefrom = function() { - return this.setCreatedtimefrom(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.InstanceQuery.prototype.hasCreatedtimefrom = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * optional google.protobuf.Timestamp createdTimeTo = 3; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.InstanceQuery.prototype.getCreatedtimeto = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.InstanceQuery} returns this -*/ -proto.InstanceQuery.prototype.setCreatedtimeto = function(value) { - return jspb.Message.setWrapperField(this, 3, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.clearCreatedtimeto = function() { - return this.setCreatedtimeto(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.InstanceQuery.prototype.hasCreatedtimeto = function() { - return jspb.Message.getField(this, 3) != null; -}; - - -/** - * repeated google.protobuf.StringValue taskHubNames = 4; - * @return {!Array} - */ -proto.InstanceQuery.prototype.getTaskhubnamesList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4)); -}; - - -/** - * @param {!Array} value - * @return {!proto.InstanceQuery} returns this -*/ -proto.InstanceQuery.prototype.setTaskhubnamesList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 4, value); -}; - - -/** - * @param {!proto.google.protobuf.StringValue=} opt_value - * @param {number=} opt_index - * @return {!proto.google.protobuf.StringValue} - */ -proto.InstanceQuery.prototype.addTaskhubnames = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.google.protobuf.StringValue, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.clearTaskhubnamesList = function() { - return this.setTaskhubnamesList([]); -}; - - -/** - * optional int32 maxInstanceCount = 5; - * @return {number} - */ -proto.InstanceQuery.prototype.getMaxinstancecount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.setMaxinstancecount = function(value) { - return jspb.Message.setProto3IntField(this, 5, value); -}; - - -/** - * optional google.protobuf.StringValue continuationToken = 6; - * @return {?proto.google.protobuf.StringValue} - */ -proto.InstanceQuery.prototype.getContinuationtoken = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.InstanceQuery} returns this -*/ -proto.InstanceQuery.prototype.setContinuationtoken = function(value) { - return jspb.Message.setWrapperField(this, 6, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.clearContinuationtoken = function() { - return this.setContinuationtoken(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.InstanceQuery.prototype.hasContinuationtoken = function() { - return jspb.Message.getField(this, 6) != null; -}; - - -/** - * optional google.protobuf.StringValue instanceIdPrefix = 7; - * @return {?proto.google.protobuf.StringValue} - */ -proto.InstanceQuery.prototype.getInstanceidprefix = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.InstanceQuery} returns this -*/ -proto.InstanceQuery.prototype.setInstanceidprefix = function(value) { - return jspb.Message.setWrapperField(this, 7, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.clearInstanceidprefix = function() { - return this.setInstanceidprefix(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.InstanceQuery.prototype.hasInstanceidprefix = function() { - return jspb.Message.getField(this, 7) != null; -}; - - -/** - * optional bool fetchInputsAndOutputs = 8; - * @return {boolean} - */ -proto.InstanceQuery.prototype.getFetchinputsandoutputs = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.InstanceQuery} returns this - */ -proto.InstanceQuery.prototype.setFetchinputsandoutputs = function(value) { - return jspb.Message.setProto3BooleanField(this, 8, value); -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.QueryInstancesResponse.repeatedFields_ = [1]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.QueryInstancesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.QueryInstancesResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.QueryInstancesResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.QueryInstancesResponse.toObject = function(includeInstance, msg) { - var f, obj = { - orchestrationstateList: jspb.Message.toObjectList(msg.getOrchestrationstateList(), - proto.OrchestrationState.toObject, includeInstance), - continuationtoken: (f = msg.getContinuationtoken()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.QueryInstancesResponse} - */ -proto.QueryInstancesResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.QueryInstancesResponse; - return proto.QueryInstancesResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.QueryInstancesResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.QueryInstancesResponse} - */ -proto.QueryInstancesResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.OrchestrationState; - reader.readMessage(value,proto.OrchestrationState.deserializeBinaryFromReader); - msg.addOrchestrationstate(value); - break; - case 2: - var value = new google_protobuf_wrappers_pb.StringValue; - reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader); - msg.setContinuationtoken(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.QueryInstancesResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.QueryInstancesResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.QueryInstancesResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.QueryInstancesResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getOrchestrationstateList(); - if (f.length > 0) { - writer.writeRepeatedMessage( - 1, - f, - proto.OrchestrationState.serializeBinaryToWriter - ); - } - f = message.getContinuationtoken(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter - ); - } -}; - - -/** - * repeated OrchestrationState orchestrationState = 1; - * @return {!Array} - */ -proto.QueryInstancesResponse.prototype.getOrchestrationstateList = function() { - return /** @type{!Array} */ ( - jspb.Message.getRepeatedWrapperField(this, proto.OrchestrationState, 1)); -}; - - -/** - * @param {!Array} value - * @return {!proto.QueryInstancesResponse} returns this -*/ -proto.QueryInstancesResponse.prototype.setOrchestrationstateList = function(value) { - return jspb.Message.setRepeatedWrapperField(this, 1, value); -}; - - -/** - * @param {!proto.OrchestrationState=} opt_value - * @param {number=} opt_index - * @return {!proto.OrchestrationState} - */ -proto.QueryInstancesResponse.prototype.addOrchestrationstate = function(opt_value, opt_index) { - return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.OrchestrationState, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.QueryInstancesResponse} returns this - */ -proto.QueryInstancesResponse.prototype.clearOrchestrationstateList = function() { - return this.setOrchestrationstateList([]); -}; - - -/** - * optional google.protobuf.StringValue continuationToken = 2; - * @return {?proto.google.protobuf.StringValue} - */ -proto.QueryInstancesResponse.prototype.getContinuationtoken = function() { - return /** @type{?proto.google.protobuf.StringValue} */ ( - jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2)); -}; - - -/** - * @param {?proto.google.protobuf.StringValue|undefined} value - * @return {!proto.QueryInstancesResponse} returns this -*/ -proto.QueryInstancesResponse.prototype.setContinuationtoken = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.QueryInstancesResponse} returns this - */ -proto.QueryInstancesResponse.prototype.clearContinuationtoken = function() { - return this.setContinuationtoken(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.QueryInstancesResponse.prototype.hasContinuationtoken = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.PurgeInstancesRequest.oneofGroups_ = [[1,2]]; - -/** - * @enum {number} - */ -proto.PurgeInstancesRequest.RequestCase = { - REQUEST_NOT_SET: 0, - INSTANCEID: 1, - PURGEINSTANCEFILTER: 2 -}; - -/** - * @return {proto.PurgeInstancesRequest.RequestCase} - */ -proto.PurgeInstancesRequest.prototype.getRequestCase = function() { - return /** @type {proto.PurgeInstancesRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.PurgeInstancesRequest.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PurgeInstancesRequest.prototype.toObject = function(opt_includeInstance) { - return proto.PurgeInstancesRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PurgeInstancesRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PurgeInstancesRequest.toObject = function(includeInstance, msg) { - var f, obj = { - instanceid: jspb.Message.getFieldWithDefault(msg, 1, ""), - purgeinstancefilter: (f = msg.getPurgeinstancefilter()) && proto.PurgeInstanceFilter.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PurgeInstancesRequest} - */ -proto.PurgeInstancesRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PurgeInstancesRequest; - return proto.PurgeInstancesRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PurgeInstancesRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PurgeInstancesRequest} - */ -proto.PurgeInstancesRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {string} */ (reader.readString()); - msg.setInstanceid(value); - break; - case 2: - var value = new proto.PurgeInstanceFilter; - reader.readMessage(value,proto.PurgeInstanceFilter.deserializeBinaryFromReader); - msg.setPurgeinstancefilter(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PurgeInstancesRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PurgeInstancesRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PurgeInstancesRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PurgeInstancesRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = /** @type {string} */ (jspb.Message.getField(message, 1)); - if (f != null) { - writer.writeString( - 1, - f - ); - } - f = message.getPurgeinstancefilter(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.PurgeInstanceFilter.serializeBinaryToWriter - ); - } -}; - - -/** - * optional string instanceId = 1; - * @return {string} - */ -proto.PurgeInstancesRequest.prototype.getInstanceid = function() { - return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); -}; - - -/** - * @param {string} value - * @return {!proto.PurgeInstancesRequest} returns this - */ -proto.PurgeInstancesRequest.prototype.setInstanceid = function(value) { - return jspb.Message.setOneofField(this, 1, proto.PurgeInstancesRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the field making it undefined. - * @return {!proto.PurgeInstancesRequest} returns this - */ -proto.PurgeInstancesRequest.prototype.clearInstanceid = function() { - return jspb.Message.setOneofField(this, 1, proto.PurgeInstancesRequest.oneofGroups_[0], undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PurgeInstancesRequest.prototype.hasInstanceid = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional PurgeInstanceFilter purgeInstanceFilter = 2; - * @return {?proto.PurgeInstanceFilter} - */ -proto.PurgeInstancesRequest.prototype.getPurgeinstancefilter = function() { - return /** @type{?proto.PurgeInstanceFilter} */ ( - jspb.Message.getWrapperField(this, proto.PurgeInstanceFilter, 2)); -}; - - -/** - * @param {?proto.PurgeInstanceFilter|undefined} value - * @return {!proto.PurgeInstancesRequest} returns this -*/ -proto.PurgeInstancesRequest.prototype.setPurgeinstancefilter = function(value) { - return jspb.Message.setOneofWrapperField(this, 2, proto.PurgeInstancesRequest.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PurgeInstancesRequest} returns this - */ -proto.PurgeInstancesRequest.prototype.clearPurgeinstancefilter = function() { - return this.setPurgeinstancefilter(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PurgeInstancesRequest.prototype.hasPurgeinstancefilter = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - -/** - * List of repeated fields within this message type. - * @private {!Array} - * @const - */ -proto.PurgeInstanceFilter.repeatedFields_ = [3]; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PurgeInstanceFilter.prototype.toObject = function(opt_includeInstance) { - return proto.PurgeInstanceFilter.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PurgeInstanceFilter} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PurgeInstanceFilter.toObject = function(includeInstance, msg) { - var f, obj = { - createdtimefrom: (f = msg.getCreatedtimefrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - createdtimeto: (f = msg.getCreatedtimeto()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - runtimestatusList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PurgeInstanceFilter} - */ -proto.PurgeInstanceFilter.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PurgeInstanceFilter; - return proto.PurgeInstanceFilter.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PurgeInstanceFilter} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PurgeInstanceFilter} - */ -proto.PurgeInstanceFilter.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setCreatedtimefrom(value); - break; - case 2: - var value = new google_protobuf_timestamp_pb.Timestamp; - reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader); - msg.setCreatedtimeto(value); - break; - case 3: - var values = /** @type {!Array} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]); - for (var i = 0; i < values.length; i++) { - msg.addRuntimestatus(values[i]); - } - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PurgeInstanceFilter.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PurgeInstanceFilter.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PurgeInstanceFilter} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PurgeInstanceFilter.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getCreatedtimefrom(); - if (f != null) { - writer.writeMessage( - 1, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getCreatedtimeto(); - if (f != null) { - writer.writeMessage( - 2, - f, - google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter - ); - } - f = message.getRuntimestatusList(); - if (f.length > 0) { - writer.writePackedEnum( - 3, - f - ); - } -}; - - -/** - * optional google.protobuf.Timestamp createdTimeFrom = 1; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.PurgeInstanceFilter.prototype.getCreatedtimefrom = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.PurgeInstanceFilter} returns this -*/ -proto.PurgeInstanceFilter.prototype.setCreatedtimefrom = function(value) { - return jspb.Message.setWrapperField(this, 1, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PurgeInstanceFilter} returns this - */ -proto.PurgeInstanceFilter.prototype.clearCreatedtimefrom = function() { - return this.setCreatedtimefrom(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PurgeInstanceFilter.prototype.hasCreatedtimefrom = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional google.protobuf.Timestamp createdTimeTo = 2; - * @return {?proto.google.protobuf.Timestamp} - */ -proto.PurgeInstanceFilter.prototype.getCreatedtimeto = function() { - return /** @type{?proto.google.protobuf.Timestamp} */ ( - jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2)); -}; - - -/** - * @param {?proto.google.protobuf.Timestamp|undefined} value - * @return {!proto.PurgeInstanceFilter} returns this -*/ -proto.PurgeInstanceFilter.prototype.setCreatedtimeto = function(value) { - return jspb.Message.setWrapperField(this, 2, value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.PurgeInstanceFilter} returns this - */ -proto.PurgeInstanceFilter.prototype.clearCreatedtimeto = function() { - return this.setCreatedtimeto(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.PurgeInstanceFilter.prototype.hasCreatedtimeto = function() { - return jspb.Message.getField(this, 2) != null; -}; - - -/** - * repeated OrchestrationStatus runtimeStatus = 3; - * @return {!Array} - */ -proto.PurgeInstanceFilter.prototype.getRuntimestatusList = function() { - return /** @type {!Array} */ (jspb.Message.getRepeatedField(this, 3)); -}; - - -/** - * @param {!Array} value - * @return {!proto.PurgeInstanceFilter} returns this - */ -proto.PurgeInstanceFilter.prototype.setRuntimestatusList = function(value) { - return jspb.Message.setField(this, 3, value || []); -}; - - -/** - * @param {!proto.OrchestrationStatus} value - * @param {number=} opt_index - * @return {!proto.PurgeInstanceFilter} returns this - */ -proto.PurgeInstanceFilter.prototype.addRuntimestatus = function(value, opt_index) { - return jspb.Message.addToRepeatedField(this, 3, value, opt_index); -}; - - -/** - * Clears the list making it empty but non-null. - * @return {!proto.PurgeInstanceFilter} returns this - */ -proto.PurgeInstanceFilter.prototype.clearRuntimestatusList = function() { - return this.setRuntimestatusList([]); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.PurgeInstancesResponse.prototype.toObject = function(opt_includeInstance) { - return proto.PurgeInstancesResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.PurgeInstancesResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PurgeInstancesResponse.toObject = function(includeInstance, msg) { - var f, obj = { - deletedinstancecount: jspb.Message.getFieldWithDefault(msg, 1, 0) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.PurgeInstancesResponse} - */ -proto.PurgeInstancesResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.PurgeInstancesResponse; - return proto.PurgeInstancesResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.PurgeInstancesResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.PurgeInstancesResponse} - */ -proto.PurgeInstancesResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {number} */ (reader.readInt32()); - msg.setDeletedinstancecount(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.PurgeInstancesResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.PurgeInstancesResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.PurgeInstancesResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.PurgeInstancesResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getDeletedinstancecount(); - if (f !== 0) { - writer.writeInt32( - 1, - f - ); - } -}; - - -/** - * optional int32 deletedInstanceCount = 1; - * @return {number} - */ -proto.PurgeInstancesResponse.prototype.getDeletedinstancecount = function() { - return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); -}; - - -/** - * @param {number} value - * @return {!proto.PurgeInstancesResponse} returns this - */ -proto.PurgeInstancesResponse.prototype.setDeletedinstancecount = function(value) { - return jspb.Message.setProto3IntField(this, 1, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.CreateTaskHubRequest.prototype.toObject = function(opt_includeInstance) { - return proto.CreateTaskHubRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.CreateTaskHubRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateTaskHubRequest.toObject = function(includeInstance, msg) { - var f, obj = { - recreateifexists: jspb.Message.getBooleanFieldWithDefault(msg, 1, false) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.CreateTaskHubRequest} - */ -proto.CreateTaskHubRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.CreateTaskHubRequest; - return proto.CreateTaskHubRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.CreateTaskHubRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.CreateTaskHubRequest} - */ -proto.CreateTaskHubRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = /** @type {boolean} */ (reader.readBool()); - msg.setRecreateifexists(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.CreateTaskHubRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.CreateTaskHubRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.CreateTaskHubRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateTaskHubRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getRecreateifexists(); - if (f) { - writer.writeBool( - 1, - f - ); - } -}; - - -/** - * optional bool recreateIfExists = 1; - * @return {boolean} - */ -proto.CreateTaskHubRequest.prototype.getRecreateifexists = function() { - return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false)); -}; - - -/** - * @param {boolean} value - * @return {!proto.CreateTaskHubRequest} returns this - */ -proto.CreateTaskHubRequest.prototype.setRecreateifexists = function(value) { - return jspb.Message.setProto3BooleanField(this, 1, value); -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.CreateTaskHubResponse.prototype.toObject = function(opt_includeInstance) { - return proto.CreateTaskHubResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.CreateTaskHubResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateTaskHubResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.CreateTaskHubResponse} - */ -proto.CreateTaskHubResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.CreateTaskHubResponse; - return proto.CreateTaskHubResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.CreateTaskHubResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.CreateTaskHubResponse} - */ -proto.CreateTaskHubResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.CreateTaskHubResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.CreateTaskHubResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.CreateTaskHubResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CreateTaskHubResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.DeleteTaskHubRequest.prototype.toObject = function(opt_includeInstance) { - return proto.DeleteTaskHubRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.DeleteTaskHubRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.DeleteTaskHubRequest.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.DeleteTaskHubRequest} - */ -proto.DeleteTaskHubRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.DeleteTaskHubRequest; - return proto.DeleteTaskHubRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.DeleteTaskHubRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.DeleteTaskHubRequest} - */ -proto.DeleteTaskHubRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.DeleteTaskHubRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.DeleteTaskHubRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.DeleteTaskHubRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.DeleteTaskHubRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.DeleteTaskHubResponse.prototype.toObject = function(opt_includeInstance) { - return proto.DeleteTaskHubResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.DeleteTaskHubResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.DeleteTaskHubResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.DeleteTaskHubResponse} - */ -proto.DeleteTaskHubResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.DeleteTaskHubResponse; - return proto.DeleteTaskHubResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.DeleteTaskHubResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.DeleteTaskHubResponse} - */ -proto.DeleteTaskHubResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.DeleteTaskHubResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.DeleteTaskHubResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.DeleteTaskHubResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.DeleteTaskHubResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.GetWorkItemsRequest.prototype.toObject = function(opt_includeInstance) { - return proto.GetWorkItemsRequest.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.GetWorkItemsRequest} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.GetWorkItemsRequest.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.GetWorkItemsRequest} - */ -proto.GetWorkItemsRequest.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.GetWorkItemsRequest; - return proto.GetWorkItemsRequest.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.GetWorkItemsRequest} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.GetWorkItemsRequest} - */ -proto.GetWorkItemsRequest.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.GetWorkItemsRequest.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.GetWorkItemsRequest.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.GetWorkItemsRequest} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.GetWorkItemsRequest.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - - -/** - * Oneof group definitions for this message. Each group defines the field - * numbers belonging to that group. When of these fields' value is set, all - * other fields in the group are cleared. During deserialization, if multiple - * fields are encountered for a group, only the last value seen will be kept. - * @private {!Array>} - * @const - */ -proto.WorkItem.oneofGroups_ = [[1,2]]; - -/** - * @enum {number} - */ -proto.WorkItem.RequestCase = { - REQUEST_NOT_SET: 0, - ORCHESTRATORREQUEST: 1, - ACTIVITYREQUEST: 2 -}; - -/** - * @return {proto.WorkItem.RequestCase} - */ -proto.WorkItem.prototype.getRequestCase = function() { - return /** @type {proto.WorkItem.RequestCase} */(jspb.Message.computeOneofCase(this, proto.WorkItem.oneofGroups_[0])); -}; - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.WorkItem.prototype.toObject = function(opt_includeInstance) { - return proto.WorkItem.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.WorkItem} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.WorkItem.toObject = function(includeInstance, msg) { - var f, obj = { - orchestratorrequest: (f = msg.getOrchestratorrequest()) && proto.OrchestratorRequest.toObject(includeInstance, f), - activityrequest: (f = msg.getActivityrequest()) && proto.ActivityRequest.toObject(includeInstance, f) - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.WorkItem} - */ -proto.WorkItem.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.WorkItem; - return proto.WorkItem.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.WorkItem} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.WorkItem} - */ -proto.WorkItem.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - case 1: - var value = new proto.OrchestratorRequest; - reader.readMessage(value,proto.OrchestratorRequest.deserializeBinaryFromReader); - msg.setOrchestratorrequest(value); - break; - case 2: - var value = new proto.ActivityRequest; - reader.readMessage(value,proto.ActivityRequest.deserializeBinaryFromReader); - msg.setActivityrequest(value); - break; - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.WorkItem.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.WorkItem.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.WorkItem} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.WorkItem.serializeBinaryToWriter = function(message, writer) { - var f = undefined; - f = message.getOrchestratorrequest(); - if (f != null) { - writer.writeMessage( - 1, - f, - proto.OrchestratorRequest.serializeBinaryToWriter - ); - } - f = message.getActivityrequest(); - if (f != null) { - writer.writeMessage( - 2, - f, - proto.ActivityRequest.serializeBinaryToWriter - ); - } -}; - - -/** - * optional OrchestratorRequest orchestratorRequest = 1; - * @return {?proto.OrchestratorRequest} - */ -proto.WorkItem.prototype.getOrchestratorrequest = function() { - return /** @type{?proto.OrchestratorRequest} */ ( - jspb.Message.getWrapperField(this, proto.OrchestratorRequest, 1)); -}; - - -/** - * @param {?proto.OrchestratorRequest|undefined} value - * @return {!proto.WorkItem} returns this -*/ -proto.WorkItem.prototype.setOrchestratorrequest = function(value) { - return jspb.Message.setOneofWrapperField(this, 1, proto.WorkItem.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.WorkItem} returns this - */ -proto.WorkItem.prototype.clearOrchestratorrequest = function() { - return this.setOrchestratorrequest(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.WorkItem.prototype.hasOrchestratorrequest = function() { - return jspb.Message.getField(this, 1) != null; -}; - - -/** - * optional ActivityRequest activityRequest = 2; - * @return {?proto.ActivityRequest} - */ -proto.WorkItem.prototype.getActivityrequest = function() { - return /** @type{?proto.ActivityRequest} */ ( - jspb.Message.getWrapperField(this, proto.ActivityRequest, 2)); -}; - - -/** - * @param {?proto.ActivityRequest|undefined} value - * @return {!proto.WorkItem} returns this -*/ -proto.WorkItem.prototype.setActivityrequest = function(value) { - return jspb.Message.setOneofWrapperField(this, 2, proto.WorkItem.oneofGroups_[0], value); -}; - - -/** - * Clears the message field making it undefined. - * @return {!proto.WorkItem} returns this - */ -proto.WorkItem.prototype.clearActivityrequest = function() { - return this.setActivityrequest(undefined); -}; - - -/** - * Returns whether this field is set. - * @return {boolean} - */ -proto.WorkItem.prototype.hasActivityrequest = function() { - return jspb.Message.getField(this, 2) != null; -}; - - - - - -if (jspb.Message.GENERATE_TO_OBJECT) { -/** - * Creates an object representation of this proto. - * Field names that are reserved in JavaScript and will be renamed to pb_name. - * Optional fields that are not set will be set to undefined. - * To access a reserved field use, foo.pb_, eg, foo.pb_default. - * For the list of reserved names please see: - * net/proto2/compiler/js/internal/generator.cc#kKeyword. - * @param {boolean=} opt_includeInstance Deprecated. whether to include the - * JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @return {!Object} - */ -proto.CompleteTaskResponse.prototype.toObject = function(opt_includeInstance) { - return proto.CompleteTaskResponse.toObject(opt_includeInstance, this); -}; - - -/** - * Static version of the {@see toObject} method. - * @param {boolean|undefined} includeInstance Deprecated. Whether to include - * the JSPB instance for transitional soy proto support: - * http://goto/soy-param-migration - * @param {!proto.CompleteTaskResponse} msg The msg instance to transform. - * @return {!Object} - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CompleteTaskResponse.toObject = function(includeInstance, msg) { - var f, obj = { - - }; - - if (includeInstance) { - obj.$jspbMessageInstance = msg; - } - return obj; -}; -} - - -/** - * Deserializes binary data (in protobuf wire format). - * @param {jspb.ByteSource} bytes The bytes to deserialize. - * @return {!proto.CompleteTaskResponse} - */ -proto.CompleteTaskResponse.deserializeBinary = function(bytes) { - var reader = new jspb.BinaryReader(bytes); - var msg = new proto.CompleteTaskResponse; - return proto.CompleteTaskResponse.deserializeBinaryFromReader(msg, reader); -}; - - -/** - * Deserializes binary data (in protobuf wire format) from the - * given reader into the given message object. - * @param {!proto.CompleteTaskResponse} msg The message object to deserialize into. - * @param {!jspb.BinaryReader} reader The BinaryReader to use. - * @return {!proto.CompleteTaskResponse} - */ -proto.CompleteTaskResponse.deserializeBinaryFromReader = function(msg, reader) { - while (reader.nextField()) { - if (reader.isEndGroup()) { - break; - } - var field = reader.getFieldNumber(); - switch (field) { - default: - reader.skipField(); - break; - } - } - return msg; -}; - - -/** - * Serializes the message to binary data (in protobuf wire format). - * @return {!Uint8Array} - */ -proto.CompleteTaskResponse.prototype.serializeBinary = function() { - var writer = new jspb.BinaryWriter(); - proto.CompleteTaskResponse.serializeBinaryToWriter(this, writer); - return writer.getResultBuffer(); -}; - - -/** - * Serializes the given message to binary data (in protobuf wire - * format), writing to the given BinaryWriter. - * @param {!proto.CompleteTaskResponse} message - * @param {!jspb.BinaryWriter} writer - * @suppress {unusedLocalVariables} f is only used for nested messages - */ -proto.CompleteTaskResponse.serializeBinaryToWriter = function(message, writer) { - var f = undefined; -}; - - -/** - * @enum {number} - */ -proto.OrchestrationStatus = { - ORCHESTRATION_STATUS_RUNNING: 0, - ORCHESTRATION_STATUS_COMPLETED: 1, - ORCHESTRATION_STATUS_CONTINUED_AS_NEW: 2, - ORCHESTRATION_STATUS_FAILED: 3, - ORCHESTRATION_STATUS_CANCELED: 4, - ORCHESTRATION_STATUS_TERMINATED: 5, - ORCHESTRATION_STATUS_PENDING: 6, - ORCHESTRATION_STATUS_SUSPENDED: 7 -}; - -goog.object.extend(exports, proto); diff --git a/src/worker/task-hub-grpc-worker.ts b/src/worker/task-hub-grpc-worker.ts index 53f79b1..274a6db 100644 --- a/src/worker/task-hub-grpc-worker.ts +++ b/src/worker/task-hub-grpc-worker.ts @@ -23,15 +23,30 @@ export class TaskHubGrpcWorker { private _hostAddress?: string; private _tls?: boolean; private _grpcChannelOptions?: grpc.ChannelOptions; + private _grpcChannelCredentials?: grpc.ChannelCredentials; private _isRunning: boolean; private _stopWorker: boolean; private _stub: stubs.TaskHubSidecarServiceClient | null; - constructor(hostAddress?: string, options?: grpc.ChannelOptions, useTLS?: boolean) { + /** + * Creates a new TaskHubGrpcWorker instance. + * + * @param hostAddress The host address to connect to. Defaults to "localhost:4001". + * @param options gRPC channel options. + * @param useTLS Whether to use TLS. Defaults to false. + * @param credentials Optional pre-configured channel credentials. If provided, useTLS is ignored. + */ + constructor( + hostAddress?: string, + options?: grpc.ChannelOptions, + useTLS?: boolean, + credentials?: grpc.ChannelCredentials, + ) { this._registry = new Registry(); this._hostAddress = hostAddress; this._tls = useTLS; this._grpcChannelOptions = options; + this._grpcChannelCredentials = credentials; this._responseStream = null; this._isRunning = false; this._stopWorker = false; @@ -105,7 +120,7 @@ export class TaskHubGrpcWorker { throw new Error("The worker is already running."); } - const client = new GrpcClient(this._hostAddress, this._grpcChannelOptions, this._tls); + const client = new GrpcClient(this._hostAddress, this._grpcChannelOptions, this._tls, this._grpcChannelCredentials); this._stub = client.stub; // do not await so it runs in the background @@ -128,18 +143,21 @@ export class TaskHubGrpcWorker { // Wait for a work item to be received stream.on("data", (workItem: pb.WorkItem) => { + const completionToken = workItem.getCompletiontoken(); if (workItem.hasOrchestratorrequest()) { console.log( `Received "Orchestrator Request" work item with instance id '${workItem ?.getOrchestratorrequest() ?.getInstanceid()}'`, ); - this._executeOrchestrator(workItem.getOrchestratorrequest() as any, client.stub); + this._executeOrchestrator(workItem.getOrchestratorrequest() as any, completionToken, client.stub); } else if (workItem.hasActivityrequest()) { console.log(`Received "Activity Request" work item`); - this._executeActivity(workItem.getActivityrequest() as any, client.stub); + this._executeActivity(workItem.getActivityrequest() as any, completionToken, client.stub); + } else if (workItem.hasHealthping()) { + // Health ping - no-op, just a keep-alive message from the server } else { - console.log(`Received unknown work item`); + console.log(`Received unknown type of work item `); } }); @@ -159,6 +177,10 @@ export class TaskHubGrpcWorker { }); stream.on("error", (err: Error) => { + // Ignore cancellation errors when the worker is being stopped intentionally + if (this._stopWorker) { + return; + } console.log("Stream error", err); }); } catch (err) { @@ -205,6 +227,7 @@ export class TaskHubGrpcWorker { */ private async _executeOrchestrator( req: pb.OrchestratorRequest, + completionToken: string, stub: stubs.TaskHubSidecarServiceClient, ): Promise { const instanceId = req.getInstanceid(); @@ -221,6 +244,7 @@ export class TaskHubGrpcWorker { res = new pb.OrchestratorResponse(); res.setInstanceid(req.getInstanceid()); + res.setCompletiontoken(completionToken); res.setActionsList(actions); } catch (e: any) { console.error(e); @@ -238,6 +262,7 @@ export class TaskHubGrpcWorker { res = new pb.OrchestratorResponse(); res.setInstanceid(req.getInstanceid()); + res.setCompletiontoken(completionToken); res.setActionsList(actions); } @@ -252,7 +277,11 @@ export class TaskHubGrpcWorker { /** * */ - private async _executeActivity(req: pb.ActivityRequest, stub: stubs.TaskHubSidecarServiceClient): Promise { + private async _executeActivity( + req: pb.ActivityRequest, + completionToken: string, + stub: stubs.TaskHubSidecarServiceClient, + ): Promise { const instanceId = req.getOrchestrationinstance()?.getInstanceid(); if (!instanceId) { @@ -276,6 +305,7 @@ export class TaskHubGrpcWorker { res = new pb.ActivityResponse(); res.setInstanceid(instanceId); res.setTaskid(req.getTaskid()); + res.setCompletiontoken(completionToken); res.setResult(s); } catch (e: any) { console.error(e); @@ -285,6 +315,7 @@ export class TaskHubGrpcWorker { res = new pb.ActivityResponse(); res.setTaskid(req.getTaskid()); + res.setCompletiontoken(completionToken); res.setFailuredetails(failureDetails); } diff --git a/test/e2e/orchestration.spec.ts b/tests/e2e/orchestration.spec.ts similarity index 95% rename from test/e2e/orchestration.spec.ts rename to tests/e2e/orchestration.spec.ts index 03daf47..1f07e22 100644 --- a/test/e2e/orchestration.spec.ts +++ b/tests/e2e/orchestration.spec.ts @@ -1,16 +1,20 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -import { TaskHubGrpcClient } from "../../src/client/client"; -import { PurgeInstanceCriteria } from "../../src/orchestration/orchestration-purge-criteria"; -import { OrchestrationStatus } from "../../src/proto/orchestrator_service_pb"; -import { OrchestrationStatus as RuntimeStatus } from "../../src/orchestration/enum/orchestration-status.enum"; -import { getName, whenAll, whenAny } from "../../src/task"; -import { ActivityContext } from "../../src/task/context/activity-context"; -import { OrchestrationContext } from "../../src/task/context/orchestration-context"; -import { Task } from "../../src/task/task"; -import { TOrchestrator } from "../../src/types/orchestrator.type"; -import { TaskHubGrpcWorker } from "../../src/worker/task-hub-grpc-worker"; +import { + TaskHubGrpcClient, + TaskHubGrpcWorker, + PurgeInstanceCriteria, + ProtoOrchestrationStatus as OrchestrationStatus, + OrchestrationStatus as RuntimeStatus, + getName, + whenAll, + whenAny, + ActivityContext, + OrchestrationContext, + Task, + TOrchestrator, +} from "@microsoft/durabletask-js"; describe("Durable Functions", () => { let taskHubClient: TaskHubGrpcClient; @@ -421,7 +425,8 @@ describe("Durable Functions", () => { taskHubWorker.addActivity(plusOne); await taskHubWorker.start(); - const startTime = new Date(Date.now()); + // Set startTime slightly in the past to account for clock drift + const startTime = new Date(Date.now() - 1000); const id = await taskHubClient.scheduleNewOrchestration(orchestrator, 1); const state = await taskHubClient.waitForOrchestrationCompletion(id, undefined, 30); @@ -478,6 +483,9 @@ describe("Durable Functions", () => { runtimeStatuses.push(RuntimeStatus.TERMINATED); runtimeStatuses.push(RuntimeStatus.COMPLETED); + // Add a small delay to ensure the orchestrations are fully persisted + await new Promise((resolve) => setTimeout(resolve, 1000)); + criteria.setCreatedTimeTo(new Date(Date.now())); criteria.setRuntimeStatusList(runtimeStatuses); purgeResult = await taskHubClient.purgeOrchestration(criteria); diff --git a/tools/generate-grpc-javascript.sh b/tools/generate-grpc-javascript.sh index cb9eb64..4f7979c 100644 --- a/tools/generate-grpc-javascript.sh +++ b/tools/generate-grpc-javascript.sh @@ -1,5 +1,5 @@ PATH_ROOT=$(readlink -f $(dirname $0))/.. -PATH_PROTO_SRC=$(readlink -f $(dirname $0))/../internal/durabletask-protobuf/protos +PATH_PROTO_SRC=$(readlink -f $(dirname $0))/../internal/protocol/protos PATH_PROTO_OUT=$(readlink -f $1) echo "==============================================" @@ -16,10 +16,11 @@ generateGrpc() { # Tools to be installed by npm (see package.json) PROTOC_GEN_TS_PATH="${PATH_ROOT}/node_modules/.bin/protoc-gen-ts" - PROTOC_GEN_GRPC_PATH=$(which grpc_tools_node_protoc_plugin) + PROTOC_GEN_GRPC_PATH="${PATH_ROOT}/node_modules/.bin/grpc_tools_node_protoc_plugin" + GRPC_TOOLS_PROTOC="${PATH_ROOT}/node_modules/.bin/grpc_tools_node_protoc" echo "Processing '$PROTO_FILE_PATH_ABSOLUTE'..." - protoc \ + $GRPC_TOOLS_PROTOC \ --proto_path=${PATH_PROTO_SRC} \ --plugin="protoc-gen-ts=${PROTOC_GEN_TS_PATH}" \ --plugin=protoc-gen-grpc=${PROTOC_GEN_GRPC_PATH} \ @@ -28,11 +29,10 @@ generateGrpc() { --grpc_out="grpc_js:$PATH_PROTO_OUT" \ ${PROTO_FILE_PATH_ABSOLUTE} - PATH_PROTO_FILE_GENERATED="${PROTO_FILE_PATH_RELATIVE}/${PROTO_FILE_NAME_NO_PROTO}_pb2.py" - PATH_PROTO_FILE_GENERATED_GRPC="${PROTO_FILE_PATH_RELATIVE}/${PROTO_FILE_NAME_NO_PROTO}_pb2_grpc.py" - - echo "- Generated '${PATH_PROTO_FILE_GENERATED}'" - echo "- Generated '${PATH_PROTO_FILE_GENERATED_GRPC}'" + echo "- Generated '${PATH_PROTO_OUT}/${PROTO_FILE_NAME_NO_PROTO}_pb.js'" + echo "- Generated '${PATH_PROTO_OUT}/${PROTO_FILE_NAME_NO_PROTO}_pb.d.ts'" + echo "- Generated '${PATH_PROTO_OUT}/${PROTO_FILE_NAME_NO_PROTO}_grpc_pb.js'" + echo "- Generated '${PATH_PROTO_OUT}/${PROTO_FILE_NAME_NO_PROTO}_grpc_pb.d.ts'" } fail_trap() { @@ -59,26 +59,23 @@ fi echo "Checking output directory $PATH_PROTO_OUT" if [ ! -d "$PATH_PROTO_OUT" ]; then - echo "Output directory does not exist: $PATH_PROTO_OUT" - exit 1 + echo "Output directory does not exist, creating: $PATH_PROTO_OUT" + mkdir -p "$PATH_PROTO_OUT" fi -# Ensure grpc-tools has been installed by npm globally with npm list -g +# Ensure grpc-tools has been installed by npm (check local node_modules) echo "Checking grpc-tools" -if [ ! $(npm list -g | grep grpc-tools | wc -l) -gt 0 ]; then - echo "grpc-tools not installed. Installing..." - npm install -g grpc-tools +if [ ! -f "${PATH_ROOT}/node_modules/.bin/grpc_tools_node_protoc" ]; then + echo "grpc-tools not installed. Please run 'npm install' first." + exit 1 else - echo "grpc-tools already installed" + echo "grpc-tools found in node_modules" fi # # We output proto files in the dir proto/ # PATH_PROTO_OUT=$PATH_PROTO_OUT -echo "Creating output directory $PATH_PROTO_OUT" -mkdir -p $PATH_PROTO_OUT - echo "==============================================" echo "Generating Javascript code in $PATH_PROTO_OUT" diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 0000000..c0c1657 --- /dev/null +++ b/tsconfig.base.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "commonjs", + "declaration": true, + "strict": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "resolveJsonModule": true, + "moduleResolution": "node" + } +} diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 77d4457..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "compilerOptions": { - /* Visit https://aka.ms/tsconfig to read more about this file */ - - /* Projects */ - // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ - // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ - // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ - // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ - // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ - // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ - - /* Language and Environment */ - "target": "ES2020" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, - // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ - // "jsx": "preserve", /* Specify what JSX code is generated. */ - // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ - // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ - // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ - // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ - // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ - // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ - // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ - // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ - // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ - - /* Modules */ - "module": "commonjs" /* Specify what module code is generated. */, - "rootDir": "./src" /* Specify the root folder within your source files. */, - // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ - // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ - // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ - // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ - // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ - // "types": [], /* Specify type package names to be included without being referenced in a source file. */ - // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ - // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ - // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ - // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ - // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ - // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ - // "resolveJsonModule": true, /* Enable importing .json files. */ - // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ - // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ - - /* JavaScript Support */ - // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ - // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ - // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ - - /* Emit */ - "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */, - // "declarationMap": true, /* Create sourcemaps for d.ts files. */ - // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ - // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ - // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ - "outDir": "./dist" /* Specify an output folder for all emitted files. */, - // "removeComments": true, /* Disable emitting comments. */ - // "noEmit": true, /* Disable emitting files from a compilation. */ - // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ - // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ - // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ - // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ - // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ - // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ - // "newLine": "crlf", /* Set the newline character for emitting files. */ - // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ - // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ - // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ - // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ - // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ - // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ - - /* Interop Constraints */ - // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ - // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ - // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ - "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, - // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ - "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, - - /* Type Checking */ - "strict": true /* Enable all strict type-checking options. */, - // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ - // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ - // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ - // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ - // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ - // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ - // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ - // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ - // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ - // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ - // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ - // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ - // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ - // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ - // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ - // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ - // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ - // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ - - /* Completeness */ - // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ - "skipLibCheck": true /* Skip type checking all .d.ts files. */ - }, - "include": ["src"], - "exclude": ["node_modules", "**/__tests__/*"] -}