diff --git a/.github/workflows/check_merge_reqs.yml b/.github/workflows/check_merge_reqs.yml index 4489b5f0a..43555cf10 100644 --- a/.github/workflows/check_merge_reqs.yml +++ b/.github/workflows/check_merge_reqs.yml @@ -1,17 +1,21 @@ name: Check Requirements for Merge on: - pull_request_target: + # note: this workflow does not use secrets or check out code, does not need to be pull_request_target + pull_request: branches: - main types: - labeled - unlabeled +env: + label-checks-pass: + jobs: check_requirements: name: Check Merge Requirements - runs-on: [self-hosted, x64] + runs-on: ubuntu-latest if: github.repository_owner == 'viamrobotics' steps: - name: Check Labels @@ -20,8 +24,7 @@ jobs: run: echo "label-checks-pass=true" >> $GITHUB_ENV - name: Final Checks - if: > - env.label-checks-pass == false + if: ${{ !env.label-checks-pass }} uses: actions/github-script@v6 with: script: core.setFailed('Merge requirements not met.\n\tLabel checks - ${{ env.label-checks-pass }}') diff --git a/.github/workflows/compile_protos.yml b/.github/workflows/compile_protos.yml index 206ef5755..a49cf8e6f 100644 --- a/.github/workflows/compile_protos.yml +++ b/.github/workflows/compile_protos.yml @@ -5,111 +5,87 @@ concurrency: cancel-in-progress: true on: - workflow_run: - workflows: ["On PR Approved"] - types: - - completed + pull_request_target: + types: ['synchronize', 'labeled'] + branches: + - main + +env: + # guards against running this action on its own previous commit + is-auto-commit: + commit-message: + commit-author: + GRPC_WEB_VERSION: '1.5.0' jobs: + unlabel: + # This unlabel job runs on manual commits only. + # (because commits generated with GITHUB_TOKEN don't rerun workflow per https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow) + # note: this job doesn't need a 'safe to test' label because it doesn't check out code + runs-on: ubuntu-latest + steps: + - name: remove label + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + run: gh pr edit ${{ github.event.pull_request.number }} --remove-label protos-compiled + compile-protos: - if: > - github.event.workflow_run.event == 'pull_request_review' && - github.event.workflow_run.conclusion == 'success' - runs-on: [self-hosted, x64] - container: - image: ghcr.io/viamrobotics/canon:amd64-cache - options: --platform linux/amd64 + # run after unlabel so that ordering of remove-label, add-label is consistent + needs: unlabel + if: contains(github.event.pull_request.labels.*.name, 'safe to test') && contains(github.event.pull_request.labels.*.name, 'ready-for-protos') + runs-on: ubuntu-latest env: CI_COMMIT_MESSAGE_PREFIX: Built new protos from CI_COMMIT_AUTHOR: github-actions - LABEL_NAME: protos-compiled steps: - # Download PR info from approval workflow and checkout branch - - name: Download artifact - uses: dawidd6/action-download-artifact@v2 - with: - run_id: ${{github.event.workflow_run.id }} - - name: Get PR Repo - id: get-pr-repo - uses: actions/github-script@v6 + - uses: actions/checkout@v4 with: - result-encoding: string - script: | - var fs = require('fs'); - var repo = String(fs.readFileSync('./pr/repo')).trim(); - return repo - - name: Get PR Ref - id: get-pr-ref - uses: actions/github-script@v6 + ref: ${{ github.event.pull_request.head.sha }} + - uses: actions/setup-node@v4 + - uses: actions/setup-go@v5 with: - result-encoding: string - script: | - var fs = require('fs'); - var ref = String(fs.readFileSync('./pr/ref')).trim(); - return ref - - name: Get PR Number - id: get-pr-number - uses: actions/github-script@v6 - with: - script: | - var fs = require('fs'); - var number = Number(String(fs.readFileSync('./pr/number')).trim()); - return number - - uses: actions/checkout@v3 - with: - repository: ${{ steps.get-pr-repo.outputs.result }} - ref: ${{ steps.get-pr-ref.outputs.result }} - token: ${{ secrets.REPO_READ_TOKEN }} - - # Set environment variables based on the last commit - - name: Set environment variable "commit-message" - run: echo "commit-message=$(git log -1 --pretty=format:'%s')" >> $GITHUB_ENV - - name: Set environment variable "commit-author" - run: echo "commit-author=$(git log -1 --pretty=format:'%an')" >> $GITHUB_ENV - + go-version: '1.21' + # todo: cache download + - name: grpc-web + run: | + wget --quiet https://github.com/grpc/grpc-web/releases/download/${{ env.GRPC_WEB_VERSION }}/protoc-gen-grpc-web-${{ env.GRPC_WEB_VERSION }}-linux-x86_64 -O protoc-gen-grpc-web + chmod +x protoc-gen-grpc-web + sudo mv protoc-gen-grpc-web /usr/local/bin + which protoc-gen-grpc-web + - name: Set environment variables for previous commit + run: | + echo "commit-message=$(git log -1 --pretty=format:'%s')" >> $GITHUB_ENV + echo "commit-author=$(git log -1 --pretty=format:'%an')" >> $GITHUB_ENV # If the last commit is an auto-generated commit from this workflow, we can exit early - name: Set environment variable "is-auto-commit" if: startsWith(env.commit-message, env.CI_COMMIT_MESSAGE_PREFIX) && env.commit-author == env.CI_COMMIT_AUTHOR run: echo "is-auto-commit=true" >> $GITHUB_ENV - # Remove label if exists, since we're about to compile again - - name: Remove label - if: env.is-auto-commit == false - uses: andymckay/labeler@1.0.4 - with: - repo-token: ${{ secrets.REPO_READ_TOKEN }} - remove-labels: ${{ env.LABEL_NAME }} - issue-number: ${{ steps.get-pr-number.outputs.result }} - - # Build and push - uses: bufbuild/buf-setup-action@v1 - if: env.is-auto-commit == false + if: ${{ !env.is-auto-commit }} with: github_token: ${{ secrets.GITHUB_TOKEN }} - uses: arduino/setup-protoc@v1 - if: env.is-auto-commit == false + if: ${{ !env.is-auto-commit }} - name: Compile protos - if: env.is-auto-commit == false + if: ${{ !env.is-auto-commit }} run: make dist/buf - - name: Add SHORT_SHA env property - if: env.is-auto-commit == false - id: short_sha - run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - - - name: Commit + Push - if: env.is-auto-commit == false - uses: EndBug/add-and-commit@v9.0.0 - with: - default_author: github_actions - message: ${{ env.CI_COMMIT_MESSAGE_PREFIX }} ${{ steps.short_sha.outputs.short_sha }} - push: true - - - name: Add label - if: env.is-auto-commit == false - uses: andymckay/labeler@1.0.4 - with: - repo-token: ${{ secrets.REPO_READ_TOKEN }} - add-labels: ${{ env.LABEL_NAME }} - issue-number: ${{ steps.get-pr-number.outputs.result }} + - name: commit + push + if: ${{ !env.is-auto-commit }} + run: | + git add . + git checkout -b ${{ github.event.pull_request.head.ref }} + git status + # magic email from https://github.com/orgs/community/discussions/26560 + git config user.email 41898282+github-actions[bot]@users.noreply.github.com + git config user.name github-actions + git commit -a -m "${{ env.CI_COMMIT_MESSAGE_PREFIX }} $(git rev-parse --short HEAD)" + git push -u origin ${{ github.event.pull_request.head.ref }} + - name: add label + if: ${{ !env.is-auto-commit }} + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh pr edit ${{ github.event.pull_request.number }} --add-label protos-compiled diff --git a/.github/workflows/license_finder.yml b/.github/workflows/license_finder.yml index 1cdd1972a..68e72327e 100644 --- a/.github/workflows/license_finder.yml +++ b/.github/workflows/license_finder.yml @@ -13,8 +13,7 @@ jobs: timeout-minutes: 30 steps: - - name: Check out code in rdk directory - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 2 diff --git a/.github/workflows/on_pr_approved.yml b/.github/workflows/on_pr_approved.yml deleted file mode 100644 index 220d61aad..000000000 --- a/.github/workflows/on_pr_approved.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: On PR Approved - -on: - pull_request_review: - branches: [ 'main' ] - types: [submitted] - -jobs: - export_pr_info: - name: Export Pull Request Info - runs-on: [self-hosted, x64] - if: github.event.review.state == 'approved' && github.repository_owner == 'viamrobotics' - steps: - - name: Save PR repo and ref - run: | - mkdir -p ./pr - echo ${{ github.event.pull_request.head.repo.full_name }} > ./pr/repo - echo ${{ github.event.pull_request.head.ref }} > ./pr/ref - echo ${{ github.event.pull_request.number }} > ./pr/number - - uses: actions/upload-artifact@v2 - with: - name: pr - path: pr/ diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml new file mode 100644 index 000000000..70fd09e95 --- /dev/null +++ b/.github/workflows/pr-labeler.yml @@ -0,0 +1,40 @@ +name: PR Test Label Manager + +on: + pull_request: + branches: [ main ] + types: [ opened, synchronize, reopened ] + +jobs: + pr_test_label_manager: + # note: this doesn't check 'safe to test' label because it doesn't check out code + name: PR Test Label Manager + runs-on: ubuntu-latest + steps: + - name: "Check Membership and Label PR" + uses: actions/github-script@v6 + id: check-membership + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + let prNumber = context.payload.pull_request?.number; + const ownerAndRepo = { + // note: this is hardcoded because I'm not sure how it will vary in fork PRs + owner: "viamrobotics", + repo: "${{ github.event.repository.name }}", + }; + let orgResp = await github.rest.orgs.checkMembershipForUser({org: ownerAndRepo.owner, username: context.payload.sender.login}); + if (orgResp.status === 204) { + await github.rest.issues.addLabels({...ownerAndRepo, issue_number: prNumber, labels: ["safe to test"]}); + return true; + } else { + await github.rest.issues.removeLabel({...ownerAndRepo, issue_number: prNumber, name: "safe to test"}); + } + return false; + + - name: Add Unsafe PR Comment + if: steps.check-membership.outputs.result != 'true' + uses: marocchino/sticky-pull-request-comment@v2 + with: + recreate: true + message: For security reasons, this PR must be labeled with `safe to test` in order for tests to run. diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 703080a4a..06b3e9ad0 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -6,22 +6,18 @@ concurrency: on: workflow_dispatch: - pull_request: + pull_request_target: branches: [ 'main' ] - types: [opened, synchronize, reopened] - push: - branches: [ '!main' ] + types: [opened, synchronize, reopened, unlabeled] jobs: test: name: Test For Lint and Breaking Changes + if: contains(github.event.pull_request.labels.*.name, 'safe to test') timeout-minutes: 5 - runs-on: [self-hosted, x64] - container: - image: ghcr.io/viamrobotics/canon:amd64-cache - options: --platform linux/amd64 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: bufbuild/buf-setup-action@v1 # Run all Lint runs - uses: bufbuild/buf-lint-action@v1 diff --git a/README.md b/README.md index 3dca9956e..3b684fcea 100644 --- a/README.md +++ b/README.md @@ -13,11 +13,16 @@ Protobuf definitions for Viam's public-facing API. ### Submitting PRs for Protobuf Changes -- Only submit PRs with changes to `.proto` files, CI will handle generating other files. - - Upon (first) approval of the PR, file generation will happen. - - Wait for it to complete (it will add a `protos-compiled` label and new files to the PR) before merging. - - Do not make further changes after this point. - - If stuck waiting for merge checks _after_ `protos-compiled` is added, try adding an unrelated label (ex: `enhancement`) to trigger it again. +Please only edit `.proto` files. The generated interfaces build in CI. + +To build protos for a PR: +- add the `ready-for-protos` label +- adding the label will compile your protos, and commit the compiled changes to your PR branch from the github-actions bot + - the bot commit will also add a `protos-compiled` label which is checked to merge. subsequent manual commits remove this label +- when you're ready to merge, **remove** the `ready-for-protos` label; that will trigger lint and merge checks +- in order to merge, the last commit to your PR must be a bot commit. (this is enforced through labeling) + +Other guidelines: - Do not make breaking changes to APIs if it can be avoided. - Always use semantic version tags (not hashes) when importing this into other projects, such as RDK. + For example, use `go get go.viam.com/api@v0.1.180` NOT `go get go.viam.com/api@037415e` diff --git a/component/arm/v1/arm.pb.gw.go b/component/arm/v1/arm.pb.gw.go index 90c742bb6..e9d51a96f 100644 --- a/component/arm/v1/arm.pb.gw.go +++ b/component/arm/v1/arm.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -439,7 +439,7 @@ var ( ) func request_ArmService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client ArmServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -472,7 +472,7 @@ func request_ArmService_DoCommand_0(ctx context.Context, marshaler runtime.Marsh } func local_request_ArmService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server ArmServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -509,7 +509,7 @@ var ( ) func request_ArmService_GetKinematics_0(ctx context.Context, marshaler runtime.Marshaler, client ArmServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetKinematicsRequest + var protoReq v1.GetKinematicsRequest var metadata runtime.ServerMetadata var ( @@ -542,7 +542,7 @@ func request_ArmService_GetKinematics_0(ctx context.Context, marshaler runtime.M } func local_request_ArmService_GetKinematics_0(ctx context.Context, marshaler runtime.Marshaler, server ArmServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetKinematicsRequest + var protoReq v1.GetKinematicsRequest var metadata runtime.ServerMetadata var ( @@ -579,7 +579,7 @@ var ( ) func request_ArmService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client ArmServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -612,7 +612,7 @@ func request_ArmService_GetGeometries_0(ctx context.Context, marshaler runtime.M } func local_request_ArmService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server ArmServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( diff --git a/component/audioinput/v1/audioinput.pb.gw.go b/component/audioinput/v1/audioinput.pb.gw.go index 97662546a..571f1e11f 100644 --- a/component/audioinput/v1/audioinput.pb.gw.go +++ b/component/audioinput/v1/audioinput.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -184,7 +184,7 @@ var ( ) func request_AudioInputService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client AudioInputServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -217,7 +217,7 @@ func request_AudioInputService_DoCommand_0(ctx context.Context, marshaler runtim } func local_request_AudioInputService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server AudioInputServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -254,7 +254,7 @@ var ( ) func request_AudioInputService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client AudioInputServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -287,7 +287,7 @@ func request_AudioInputService_GetGeometries_0(ctx context.Context, marshaler ru } func local_request_AudioInputService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server AudioInputServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( diff --git a/component/board/v1/board.pb.gw.go b/component/board/v1/board.pb.gw.go index c5c5c61d0..899bc404c 100644 --- a/component/board/v1/board.pb.gw.go +++ b/component/board/v1/board.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -527,7 +527,7 @@ var ( ) func request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client BoardServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -560,7 +560,7 @@ func request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Mar } func local_request_BoardService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server BoardServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -962,7 +962,7 @@ var ( ) func request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client BoardServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -995,7 +995,7 @@ func request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime } func local_request_BoardService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server BoardServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( diff --git a/component/camera/v1/camera.pb.gw.go b/component/camera/v1/camera.pb.gw.go index b97fe7000..b329ca959 100644 --- a/component/camera/v1/camera.pb.gw.go +++ b/component/camera/v1/camera.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -351,7 +351,7 @@ var ( ) func request_CameraService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client CameraServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -384,7 +384,7 @@ func request_CameraService_DoCommand_0(ctx context.Context, marshaler runtime.Ma } func local_request_CameraService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server CameraServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -421,7 +421,7 @@ var ( ) func request_CameraService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client CameraServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -454,7 +454,7 @@ func request_CameraService_GetGeometries_0(ctx context.Context, marshaler runtim } func local_request_CameraService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server CameraServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( diff --git a/component/generic/v1/generic.pb.gw.go b/component/generic/v1/generic.pb.gw.go index 81abf78ba..8b95fb2a9 100644 --- a/component/generic/v1/generic.pb.gw.go +++ b/component/generic/v1/generic.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -37,7 +37,7 @@ var ( ) func request_GenericService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client GenericServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -70,7 +70,7 @@ func request_GenericService_DoCommand_0(ctx context.Context, marshaler runtime.M } func local_request_GenericService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server GenericServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -107,7 +107,7 @@ var ( ) func request_GenericService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client GenericServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -140,7 +140,7 @@ func request_GenericService_GetGeometries_0(ctx context.Context, marshaler runti } func local_request_GenericService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server GenericServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( diff --git a/component/movementsensor/v1/movementsensor.pb.gw.go b/component/movementsensor/v1/movementsensor.pb.gw.go index a2cd12d55..8530c6d94 100644 --- a/component/movementsensor/v1/movementsensor.pb.gw.go +++ b/component/movementsensor/v1/movementsensor.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -597,7 +597,7 @@ var ( ) func request_MovementSensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client MovementSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -630,7 +630,7 @@ func request_MovementSensorService_DoCommand_0(ctx context.Context, marshaler ru } func local_request_MovementSensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server MovementSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -667,7 +667,7 @@ var ( ) func request_MovementSensorService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client MovementSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -700,7 +700,7 @@ func request_MovementSensorService_GetGeometries_0(ctx context.Context, marshale } func local_request_MovementSensorService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server MovementSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetGeometriesRequest + var protoReq v1.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -737,7 +737,7 @@ var ( ) func request_MovementSensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, client MovementSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetReadingsRequest + var protoReq v1.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -770,7 +770,7 @@ func request_MovementSensorService_GetReadings_0(ctx context.Context, marshaler } func local_request_MovementSensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, server MovementSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetReadingsRequest + var protoReq v1.GetReadingsRequest var metadata runtime.ServerMetadata var ( diff --git a/component/powersensor/v1/powersensor.pb.gw.go b/component/powersensor/v1/powersensor.pb.gw.go index 9a80a7e4a..c60c7e312 100644 --- a/component/powersensor/v1/powersensor.pb.gw.go +++ b/component/powersensor/v1/powersensor.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - v1_0 "go.viam.com/api/common/v1" + "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -247,7 +247,7 @@ var ( ) func request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, client PowerSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetReadingsRequest + var protoReq v1.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -280,7 +280,7 @@ func request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler run } func local_request_PowerSensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, server PowerSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.GetReadingsRequest + var protoReq v1.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -317,7 +317,7 @@ var ( ) func request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client PowerSensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -350,7 +350,7 @@ func request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runti } func local_request_PowerSensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server PowerSensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1_0.DoCommandRequest + var protoReq v1.DoCommandRequest var metadata runtime.ServerMetadata var ( diff --git a/component/sensor/v1/sensor.pb.gw.go b/component/sensor/v1/sensor.pb.gw.go index 66681c369..b45747050 100644 --- a/component/sensor/v1/sensor.pb.gw.go +++ b/component/sensor/v1/sensor.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -37,7 +37,7 @@ var ( ) func request_SensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, client SensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetReadingsRequest + var protoReq v1_0.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -70,7 +70,7 @@ func request_SensorService_GetReadings_0(ctx context.Context, marshaler runtime. } func local_request_SensorService_GetReadings_0(ctx context.Context, marshaler runtime.Marshaler, server SensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetReadingsRequest + var protoReq v1_0.GetReadingsRequest var metadata runtime.ServerMetadata var ( @@ -107,7 +107,7 @@ var ( ) func request_SensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client SensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -140,7 +140,7 @@ func request_SensorService_DoCommand_0(ctx context.Context, marshaler runtime.Ma } func local_request_SensorService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server SensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -177,7 +177,7 @@ var ( ) func request_SensorService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client SensorServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -210,7 +210,7 @@ func request_SensorService_GetGeometries_0(ctx context.Context, marshaler runtim } func local_request_SensorService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server SensorServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( diff --git a/component/servo/v1/servo.pb.gw.go b/component/servo/v1/servo.pb.gw.go index fd6e0a9d1..75e698cc0 100644 --- a/component/servo/v1/servo.pb.gw.go +++ b/component/servo/v1/servo.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -299,7 +299,7 @@ var ( ) func request_ServoService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client ServoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -332,7 +332,7 @@ func request_ServoService_DoCommand_0(ctx context.Context, marshaler runtime.Mar } func local_request_ServoService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server ServoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -369,7 +369,7 @@ var ( ) func request_ServoService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, client ServoServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( @@ -402,7 +402,7 @@ func request_ServoService_GetGeometries_0(ctx context.Context, marshaler runtime } func local_request_ServoService_GetGeometries_0(ctx context.Context, marshaler runtime.Marshaler, server ServoServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.GetGeometriesRequest + var protoReq v1_0.GetGeometriesRequest var metadata runtime.ServerMetadata var ( diff --git a/gen/js/app/agent/v1/agent_grpc_web_pb.js b/gen/js/app/agent/v1/agent_grpc_web_pb.js index c80c97d54..72fcf0175 100644 --- a/gen/js/app/agent/v1/agent_grpc_web_pb.js +++ b/gen/js/app/agent/v1/agent_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/agent/v1/agent.proto diff --git a/gen/js/app/build/v1/build_grpc_web_pb.js b/gen/js/app/build/v1/build_grpc_web_pb.js index a087ce7ef..63bdbd89e 100644 --- a/gen/js/app/build/v1/build_grpc_web_pb.js +++ b/gen/js/app/build/v1/build_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/build/v1/build.proto diff --git a/gen/js/app/cloudslam/v1/cloud_slam_grpc_web_pb.js b/gen/js/app/cloudslam/v1/cloud_slam_grpc_web_pb.js index de9584f67..45ace171a 100644 --- a/gen/js/app/cloudslam/v1/cloud_slam_grpc_web_pb.js +++ b/gen/js/app/cloudslam/v1/cloud_slam_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/cloudslam/v1/cloud_slam.proto diff --git a/gen/js/app/data/v1/data_grpc_web_pb.js b/gen/js/app/data/v1/data_grpc_web_pb.js index 8b9248419..1dd9c2851 100644 --- a/gen/js/app/data/v1/data_grpc_web_pb.js +++ b/gen/js/app/data/v1/data_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/data/v1/data.proto diff --git a/gen/js/app/dataset/v1/dataset_grpc_web_pb.js b/gen/js/app/dataset/v1/dataset_grpc_web_pb.js index 8f78853ab..b36a4f70f 100644 --- a/gen/js/app/dataset/v1/dataset_grpc_web_pb.js +++ b/gen/js/app/dataset/v1/dataset_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/dataset/v1/dataset.proto diff --git a/gen/js/app/datasync/v1/data_sync_grpc_web_pb.js b/gen/js/app/datasync/v1/data_sync_grpc_web_pb.js index 7825c2d8f..f9872d747 100644 --- a/gen/js/app/datasync/v1/data_sync_grpc_web_pb.js +++ b/gen/js/app/datasync/v1/data_sync_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/datasync/v1/data_sync.proto diff --git a/gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js b/gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js index 310322b44..314785249 100644 --- a/gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js +++ b/gen/js/app/mltraining/v1/ml_training_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/mltraining/v1/ml_training.proto diff --git a/gen/js/app/packages/v1/packages_grpc_web_pb.js b/gen/js/app/packages/v1/packages_grpc_web_pb.js index d24e7b3e7..a8a30263b 100644 --- a/gen/js/app/packages/v1/packages_grpc_web_pb.js +++ b/gen/js/app/packages/v1/packages_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/packages/v1/packages.proto diff --git a/gen/js/app/v1/app_grpc_web_pb.js b/gen/js/app/v1/app_grpc_web_pb.js index f5f40a709..9b3814c7b 100644 --- a/gen/js/app/v1/app_grpc_web_pb.js +++ b/gen/js/app/v1/app_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/v1/app.proto diff --git a/gen/js/app/v1/billing_grpc_web_pb.js b/gen/js/app/v1/billing_grpc_web_pb.js index b74b76059..8b67a51db 100644 --- a/gen/js/app/v1/billing_grpc_web_pb.js +++ b/gen/js/app/v1/billing_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/v1/billing.proto diff --git a/gen/js/app/v1/end_user_grpc_web_pb.js b/gen/js/app/v1/end_user_grpc_web_pb.js index 76254d59d..f4e1e1aba 100644 --- a/gen/js/app/v1/end_user_grpc_web_pb.js +++ b/gen/js/app/v1/end_user_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/v1/end_user.proto diff --git a/gen/js/app/v1/robot_grpc_web_pb.js b/gen/js/app/v1/robot_grpc_web_pb.js index e7255cf00..f44e02a21 100644 --- a/gen/js/app/v1/robot_grpc_web_pb.js +++ b/gen/js/app/v1/robot_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: app/v1/robot.proto diff --git a/gen/js/component/arm/v1/arm_grpc_web_pb.js b/gen/js/component/arm/v1/arm_grpc_web_pb.js index e033060b1..b97e1b45e 100644 --- a/gen/js/component/arm/v1/arm_grpc_web_pb.js +++ b/gen/js/component/arm/v1/arm_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/arm/v1/arm.proto diff --git a/gen/js/component/audioinput/v1/audioinput_grpc_web_pb.js b/gen/js/component/audioinput/v1/audioinput_grpc_web_pb.js index bc02ca8b2..3fe1af59f 100644 --- a/gen/js/component/audioinput/v1/audioinput_grpc_web_pb.js +++ b/gen/js/component/audioinput/v1/audioinput_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/audioinput/v1/audioinput.proto diff --git a/gen/js/component/base/v1/base_grpc_web_pb.js b/gen/js/component/base/v1/base_grpc_web_pb.js index 1db87b6a1..78efa236c 100644 --- a/gen/js/component/base/v1/base_grpc_web_pb.js +++ b/gen/js/component/base/v1/base_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/base/v1/base.proto diff --git a/gen/js/component/board/v1/board_grpc_web_pb.js b/gen/js/component/board/v1/board_grpc_web_pb.js index 320fa7dd9..d8b3626a0 100644 --- a/gen/js/component/board/v1/board_grpc_web_pb.js +++ b/gen/js/component/board/v1/board_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/board/v1/board.proto diff --git a/gen/js/component/camera/v1/camera_grpc_web_pb.js b/gen/js/component/camera/v1/camera_grpc_web_pb.js index 09c49c1c6..1c4e91e84 100644 --- a/gen/js/component/camera/v1/camera_grpc_web_pb.js +++ b/gen/js/component/camera/v1/camera_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/camera/v1/camera.proto diff --git a/gen/js/component/encoder/v1/encoder_grpc_web_pb.js b/gen/js/component/encoder/v1/encoder_grpc_web_pb.js index 51757e04f..6fef84413 100644 --- a/gen/js/component/encoder/v1/encoder_grpc_web_pb.js +++ b/gen/js/component/encoder/v1/encoder_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/encoder/v1/encoder.proto diff --git a/gen/js/component/gantry/v1/gantry_grpc_web_pb.js b/gen/js/component/gantry/v1/gantry_grpc_web_pb.js index 2e04ede54..464c5e097 100644 --- a/gen/js/component/gantry/v1/gantry_grpc_web_pb.js +++ b/gen/js/component/gantry/v1/gantry_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/gantry/v1/gantry.proto diff --git a/gen/js/component/generic/v1/generic_grpc_web_pb.js b/gen/js/component/generic/v1/generic_grpc_web_pb.js index b737f17a9..1ccdcd483 100644 --- a/gen/js/component/generic/v1/generic_grpc_web_pb.js +++ b/gen/js/component/generic/v1/generic_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/generic/v1/generic.proto diff --git a/gen/js/component/gripper/v1/gripper_grpc_web_pb.js b/gen/js/component/gripper/v1/gripper_grpc_web_pb.js index 8d0e0ca61..4084971f9 100644 --- a/gen/js/component/gripper/v1/gripper_grpc_web_pb.js +++ b/gen/js/component/gripper/v1/gripper_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/gripper/v1/gripper.proto diff --git a/gen/js/component/inputcontroller/v1/input_controller_grpc_web_pb.js b/gen/js/component/inputcontroller/v1/input_controller_grpc_web_pb.js index a71978330..e04de0cbf 100644 --- a/gen/js/component/inputcontroller/v1/input_controller_grpc_web_pb.js +++ b/gen/js/component/inputcontroller/v1/input_controller_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/inputcontroller/v1/input_controller.proto diff --git a/gen/js/component/motor/v1/motor_grpc_web_pb.js b/gen/js/component/motor/v1/motor_grpc_web_pb.js index a390a9670..895437bfa 100644 --- a/gen/js/component/motor/v1/motor_grpc_web_pb.js +++ b/gen/js/component/motor/v1/motor_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/motor/v1/motor.proto diff --git a/gen/js/component/movementsensor/v1/movementsensor_grpc_web_pb.js b/gen/js/component/movementsensor/v1/movementsensor_grpc_web_pb.js index fbba8db59..93ffb68a4 100644 --- a/gen/js/component/movementsensor/v1/movementsensor_grpc_web_pb.js +++ b/gen/js/component/movementsensor/v1/movementsensor_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/movementsensor/v1/movementsensor.proto diff --git a/gen/js/component/posetracker/v1/pose_tracker_grpc_web_pb.js b/gen/js/component/posetracker/v1/pose_tracker_grpc_web_pb.js index 87dff875f..205765747 100644 --- a/gen/js/component/posetracker/v1/pose_tracker_grpc_web_pb.js +++ b/gen/js/component/posetracker/v1/pose_tracker_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/posetracker/v1/pose_tracker.proto diff --git a/gen/js/component/powersensor/v1/powersensor_grpc_web_pb.js b/gen/js/component/powersensor/v1/powersensor_grpc_web_pb.js index a040e3a6f..79f7919b7 100644 --- a/gen/js/component/powersensor/v1/powersensor_grpc_web_pb.js +++ b/gen/js/component/powersensor/v1/powersensor_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/powersensor/v1/powersensor.proto diff --git a/gen/js/component/sensor/v1/sensor_grpc_web_pb.js b/gen/js/component/sensor/v1/sensor_grpc_web_pb.js index 11dcf4f7a..ae3cbfd99 100644 --- a/gen/js/component/sensor/v1/sensor_grpc_web_pb.js +++ b/gen/js/component/sensor/v1/sensor_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/sensor/v1/sensor.proto diff --git a/gen/js/component/servo/v1/servo_grpc_web_pb.js b/gen/js/component/servo/v1/servo_grpc_web_pb.js index c2b9cec7c..4c998cf8d 100644 --- a/gen/js/component/servo/v1/servo_grpc_web_pb.js +++ b/gen/js/component/servo/v1/servo_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/servo/v1/servo.proto diff --git a/gen/js/component/testecho/v1/testecho_grpc_web_pb.js b/gen/js/component/testecho/v1/testecho_grpc_web_pb.js index b97c4f32b..1a4d02862 100644 --- a/gen/js/component/testecho/v1/testecho_grpc_web_pb.js +++ b/gen/js/component/testecho/v1/testecho_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: component/testecho/v1/testecho.proto diff --git a/gen/js/google/bytestream/bytestream_grpc_web_pb.js b/gen/js/google/bytestream/bytestream_grpc_web_pb.js index e985c0527..0c317ba83 100644 --- a/gen/js/google/bytestream/bytestream_grpc_web_pb.js +++ b/gen/js/google/bytestream/bytestream_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: google/bytestream/bytestream.proto diff --git a/gen/js/google/longrunning/operations_grpc_web_pb.js b/gen/js/google/longrunning/operations_grpc_web_pb.js index e622c0fe2..ad72c437f 100644 --- a/gen/js/google/longrunning/operations_grpc_web_pb.js +++ b/gen/js/google/longrunning/operations_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: google/longrunning/operations.proto diff --git a/gen/js/module/v1/module_grpc_web_pb.js b/gen/js/module/v1/module_grpc_web_pb.js index 6e4d894f4..d5b73fef6 100644 --- a/gen/js/module/v1/module_grpc_web_pb.js +++ b/gen/js/module/v1/module_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: module/v1/module.proto diff --git a/gen/js/provisioning/v1/provisioning_grpc_web_pb.js b/gen/js/provisioning/v1/provisioning_grpc_web_pb.js index ef91f2ee3..f182e94d8 100644 --- a/gen/js/provisioning/v1/provisioning_grpc_web_pb.js +++ b/gen/js/provisioning/v1/provisioning_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: provisioning/v1/provisioning.proto diff --git a/gen/js/robot/v1/robot_grpc_web_pb.js b/gen/js/robot/v1/robot_grpc_web_pb.js index f655176f5..6118e195d 100644 --- a/gen/js/robot/v1/robot_grpc_web_pb.js +++ b/gen/js/robot/v1/robot_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: robot/v1/robot.proto @@ -1118,5 +1118,66 @@ proto.viam.robot.v1.RobotServicePromiseClient.prototype.getCloudMetadata = }; +/** + * @const + * @type {!grpc.web.MethodDescriptor< + * !proto.viam.robot.v1.RestartModuleRequest, + * !proto.viam.robot.v1.RestartModuleResponse>} + */ +const methodDescriptor_RobotService_RestartModule = new grpc.web.MethodDescriptor( + '/viam.robot.v1.RobotService/RestartModule', + grpc.web.MethodType.UNARY, + proto.viam.robot.v1.RestartModuleRequest, + proto.viam.robot.v1.RestartModuleResponse, + /** + * @param {!proto.viam.robot.v1.RestartModuleRequest} request + * @return {!Uint8Array} + */ + function(request) { + return request.serializeBinary(); + }, + proto.viam.robot.v1.RestartModuleResponse.deserializeBinary +); + + +/** + * @param {!proto.viam.robot.v1.RestartModuleRequest} request The + * request proto + * @param {?Object} metadata User defined + * call metadata + * @param {function(?grpc.web.RpcError, ?proto.viam.robot.v1.RestartModuleResponse)} + * callback The callback function(error, response) + * @return {!grpc.web.ClientReadableStream|undefined} + * The XHR Node Readable Stream + */ +proto.viam.robot.v1.RobotServiceClient.prototype.restartModule = + function(request, metadata, callback) { + return this.client_.rpcCall(this.hostname_ + + '/viam.robot.v1.RobotService/RestartModule', + request, + metadata || {}, + methodDescriptor_RobotService_RestartModule, + callback); +}; + + +/** + * @param {!proto.viam.robot.v1.RestartModuleRequest} request The + * request proto + * @param {?Object=} metadata User defined + * call metadata + * @return {!Promise} + * Promise that resolves to the response + */ +proto.viam.robot.v1.RobotServicePromiseClient.prototype.restartModule = + function(request, metadata) { + return this.client_.unaryCall(this.hostname_ + + '/viam.robot.v1.RobotService/RestartModule', + request, + metadata || {}, + methodDescriptor_RobotService_RestartModule); +}; + + module.exports = proto.viam.robot.v1; diff --git a/gen/js/robot/v1/robot_pb.d.ts b/gen/js/robot/v1/robot_pb.d.ts index b73abb0df..434050129 100644 --- a/gen/js/robot/v1/robot_pb.d.ts +++ b/gen/js/robot/v1/robot_pb.d.ts @@ -998,6 +998,57 @@ export namespace GetCloudMetadataResponse { } } +export class RestartModuleRequest extends jspb.Message { + hasModuleId(): boolean; + clearModuleId(): void; + getModuleId(): string; + setModuleId(value: string): void; + + hasModuleName(): boolean; + clearModuleName(): void; + getModuleName(): string; + setModuleName(value: string): void; + + getIdOrNameCase(): RestartModuleRequest.IdOrNameCase; + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RestartModuleRequest.AsObject; + static toObject(includeInstance: boolean, msg: RestartModuleRequest): RestartModuleRequest.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RestartModuleRequest, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RestartModuleRequest; + static deserializeBinaryFromReader(message: RestartModuleRequest, reader: jspb.BinaryReader): RestartModuleRequest; +} + +export namespace RestartModuleRequest { + export type AsObject = { + moduleId: string, + moduleName: string, + } + + export enum IdOrNameCase { + ID_OR_NAME_NOT_SET = 0, + MODULE_ID = 1, + MODULE_NAME = 2, + } +} + +export class RestartModuleResponse extends jspb.Message { + serializeBinary(): Uint8Array; + toObject(includeInstance?: boolean): RestartModuleResponse.AsObject; + static toObject(includeInstance: boolean, msg: RestartModuleResponse): RestartModuleResponse.AsObject; + static extensions: {[key: number]: jspb.ExtensionFieldInfo}; + static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; + static serializeBinaryToWriter(message: RestartModuleResponse, writer: jspb.BinaryWriter): void; + static deserializeBinary(bytes: Uint8Array): RestartModuleResponse; + static deserializeBinaryFromReader(message: RestartModuleResponse, reader: jspb.BinaryReader): RestartModuleResponse; +} + +export namespace RestartModuleResponse { + export type AsObject = { + } +} + export interface PeerConnectionTypeMap { PEER_CONNECTION_TYPE_UNSPECIFIED: 0; PEER_CONNECTION_TYPE_GRPC: 1; diff --git a/gen/js/robot/v1/robot_pb.js b/gen/js/robot/v1/robot_pb.js index f008eeeaa..de0011346 100644 --- a/gen/js/robot/v1/robot_pb.js +++ b/gen/js/robot/v1/robot_pb.js @@ -54,6 +54,9 @@ goog.exportSymbol('proto.viam.robot.v1.ResourceNamesResponse', null, global); goog.exportSymbol('proto.viam.robot.v1.ResourceRPCSubtype', null, global); goog.exportSymbol('proto.viam.robot.v1.ResourceRPCSubtypesRequest', null, global); goog.exportSymbol('proto.viam.robot.v1.ResourceRPCSubtypesResponse', null, global); +goog.exportSymbol('proto.viam.robot.v1.RestartModuleRequest', null, global); +goog.exportSymbol('proto.viam.robot.v1.RestartModuleRequest.IdOrNameCase', null, global); +goog.exportSymbol('proto.viam.robot.v1.RestartModuleResponse', null, global); goog.exportSymbol('proto.viam.robot.v1.SendSessionHeartbeatRequest', null, global); goog.exportSymbol('proto.viam.robot.v1.SendSessionHeartbeatResponse', null, global); goog.exportSymbol('proto.viam.robot.v1.Session', null, global); @@ -972,6 +975,48 @@ if (goog.DEBUG && !COMPILED) { */ proto.viam.robot.v1.GetCloudMetadataResponse.displayName = 'proto.viam.robot.v1.GetCloudMetadataResponse'; } +/** + * 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.viam.robot.v1.RestartModuleRequest = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, proto.viam.robot.v1.RestartModuleRequest.oneofGroups_); +}; +goog.inherits(proto.viam.robot.v1.RestartModuleRequest, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.viam.robot.v1.RestartModuleRequest.displayName = 'proto.viam.robot.v1.RestartModuleRequest'; +} +/** + * 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.viam.robot.v1.RestartModuleResponse = function(opt_data) { + jspb.Message.initialize(this, opt_data, 0, -1, null, null); +}; +goog.inherits(proto.viam.robot.v1.RestartModuleResponse, jspb.Message); +if (goog.DEBUG && !COMPILED) { + /** + * @public + * @override + */ + proto.viam.robot.v1.RestartModuleResponse.displayName = 'proto.viam.robot.v1.RestartModuleResponse'; +} @@ -7901,6 +7946,329 @@ proto.viam.robot.v1.GetCloudMetadataResponse.prototype.setMachinePartId = functi }; + +/** + * 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.viam.robot.v1.RestartModuleRequest.oneofGroups_ = [[1,2]]; + +/** + * @enum {number} + */ +proto.viam.robot.v1.RestartModuleRequest.IdOrNameCase = { + ID_OR_NAME_NOT_SET: 0, + MODULE_ID: 1, + MODULE_NAME: 2 +}; + +/** + * @return {proto.viam.robot.v1.RestartModuleRequest.IdOrNameCase} + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.getIdOrNameCase = function() { + return /** @type {proto.viam.robot.v1.RestartModuleRequest.IdOrNameCase} */(jspb.Message.computeOneofCase(this, proto.viam.robot.v1.RestartModuleRequest.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.viam.robot.v1.RestartModuleRequest.prototype.toObject = function(opt_includeInstance) { + return proto.viam.robot.v1.RestartModuleRequest.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.viam.robot.v1.RestartModuleRequest} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.robot.v1.RestartModuleRequest.toObject = function(includeInstance, msg) { + var f, obj = { + moduleId: jspb.Message.getFieldWithDefault(msg, 1, ""), + moduleName: jspb.Message.getFieldWithDefault(msg, 2, "") + }; + + if (includeInstance) { + obj.$jspbMessageInstance = msg; + } + return obj; +}; +} + + +/** + * Deserializes binary data (in protobuf wire format). + * @param {jspb.ByteSource} bytes The bytes to deserialize. + * @return {!proto.viam.robot.v1.RestartModuleRequest} + */ +proto.viam.robot.v1.RestartModuleRequest.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.viam.robot.v1.RestartModuleRequest; + return proto.viam.robot.v1.RestartModuleRequest.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.viam.robot.v1.RestartModuleRequest} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.viam.robot.v1.RestartModuleRequest} + */ +proto.viam.robot.v1.RestartModuleRequest.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.setModuleId(value); + break; + case 2: + var value = /** @type {string} */ (reader.readString()); + msg.setModuleName(value); + break; + default: + reader.skipField(); + break; + } + } + return msg; +}; + + +/** + * Serializes the message to binary data (in protobuf wire format). + * @return {!Uint8Array} + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.viam.robot.v1.RestartModuleRequest.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.viam.robot.v1.RestartModuleRequest} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.robot.v1.RestartModuleRequest.serializeBinaryToWriter = function(message, writer) { + var f = undefined; + f = /** @type {string} */ (jspb.Message.getField(message, 1)); + if (f != null) { + writer.writeString( + 1, + f + ); + } + f = /** @type {string} */ (jspb.Message.getField(message, 2)); + if (f != null) { + writer.writeString( + 2, + f + ); + } +}; + + +/** + * optional string module_id = 1; + * @return {string} + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.getModuleId = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); +}; + + +/** + * @param {string} value + * @return {!proto.viam.robot.v1.RestartModuleRequest} returns this + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.setModuleId = function(value) { + return jspb.Message.setOneofField(this, 1, proto.viam.robot.v1.RestartModuleRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.viam.robot.v1.RestartModuleRequest} returns this + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.clearModuleId = function() { + return jspb.Message.setOneofField(this, 1, proto.viam.robot.v1.RestartModuleRequest.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.hasModuleId = function() { + return jspb.Message.getField(this, 1) != null; +}; + + +/** + * optional string module_name = 2; + * @return {string} + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.getModuleName = function() { + return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); +}; + + +/** + * @param {string} value + * @return {!proto.viam.robot.v1.RestartModuleRequest} returns this + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.setModuleName = function(value) { + return jspb.Message.setOneofField(this, 2, proto.viam.robot.v1.RestartModuleRequest.oneofGroups_[0], value); +}; + + +/** + * Clears the field making it undefined. + * @return {!proto.viam.robot.v1.RestartModuleRequest} returns this + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.clearModuleName = function() { + return jspb.Message.setOneofField(this, 2, proto.viam.robot.v1.RestartModuleRequest.oneofGroups_[0], undefined); +}; + + +/** + * Returns whether this field is set. + * @return {boolean} + */ +proto.viam.robot.v1.RestartModuleRequest.prototype.hasModuleName = 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.viam.robot.v1.RestartModuleResponse.prototype.toObject = function(opt_includeInstance) { + return proto.viam.robot.v1.RestartModuleResponse.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.viam.robot.v1.RestartModuleResponse} msg The msg instance to transform. + * @return {!Object} + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.robot.v1.RestartModuleResponse.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.viam.robot.v1.RestartModuleResponse} + */ +proto.viam.robot.v1.RestartModuleResponse.deserializeBinary = function(bytes) { + var reader = new jspb.BinaryReader(bytes); + var msg = new proto.viam.robot.v1.RestartModuleResponse; + return proto.viam.robot.v1.RestartModuleResponse.deserializeBinaryFromReader(msg, reader); +}; + + +/** + * Deserializes binary data (in protobuf wire format) from the + * given reader into the given message object. + * @param {!proto.viam.robot.v1.RestartModuleResponse} msg The message object to deserialize into. + * @param {!jspb.BinaryReader} reader The BinaryReader to use. + * @return {!proto.viam.robot.v1.RestartModuleResponse} + */ +proto.viam.robot.v1.RestartModuleResponse.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.viam.robot.v1.RestartModuleResponse.prototype.serializeBinary = function() { + var writer = new jspb.BinaryWriter(); + proto.viam.robot.v1.RestartModuleResponse.serializeBinaryToWriter(this, writer); + return writer.getResultBuffer(); +}; + + +/** + * Serializes the given message to binary data (in protobuf wire + * format), writing to the given BinaryWriter. + * @param {!proto.viam.robot.v1.RestartModuleResponse} message + * @param {!jspb.BinaryWriter} writer + * @suppress {unusedLocalVariables} f is only used for nested messages + */ +proto.viam.robot.v1.RestartModuleResponse.serializeBinaryToWriter = function(message, writer) { + var f = undefined; +}; + + /** * @enum {number} */ diff --git a/gen/js/robot/v1/robot_pb_service.d.ts b/gen/js/robot/v1/robot_pb_service.d.ts index c323e9d27..636348e52 100644 --- a/gen/js/robot/v1/robot_pb_service.d.ts +++ b/gen/js/robot/v1/robot_pb_service.d.ts @@ -157,6 +157,15 @@ type RobotServiceGetCloudMetadata = { readonly responseType: typeof robot_v1_robot_pb.GetCloudMetadataResponse; }; +type RobotServiceRestartModule = { + readonly methodName: string; + readonly service: typeof RobotService; + readonly requestStream: false; + readonly responseStream: false; + readonly requestType: typeof robot_v1_robot_pb.RestartModuleRequest; + readonly responseType: typeof robot_v1_robot_pb.RestartModuleResponse; +}; + export class RobotService { static readonly serviceName: string; static readonly GetOperations: RobotServiceGetOperations; @@ -176,6 +185,7 @@ export class RobotService { static readonly SendSessionHeartbeat: RobotServiceSendSessionHeartbeat; static readonly Log: RobotServiceLog; static readonly GetCloudMetadata: RobotServiceGetCloudMetadata; + static readonly RestartModule: RobotServiceRestartModule; } export type ServiceError = { message: string, code: number; metadata: grpc.Metadata } @@ -355,5 +365,14 @@ export class RobotServiceClient { requestMessage: robot_v1_robot_pb.GetCloudMetadataRequest, callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.GetCloudMetadataResponse|null) => void ): UnaryResponse; + restartModule( + requestMessage: robot_v1_robot_pb.RestartModuleRequest, + metadata: grpc.Metadata, + callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.RestartModuleResponse|null) => void + ): UnaryResponse; + restartModule( + requestMessage: robot_v1_robot_pb.RestartModuleRequest, + callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.RestartModuleResponse|null) => void + ): UnaryResponse; } diff --git a/gen/js/robot/v1/robot_pb_service.js b/gen/js/robot/v1/robot_pb_service.js index be1597af2..dcd0cb6c2 100644 --- a/gen/js/robot/v1/robot_pb_service.js +++ b/gen/js/robot/v1/robot_pb_service.js @@ -163,6 +163,15 @@ RobotService.GetCloudMetadata = { responseType: robot_v1_robot_pb.GetCloudMetadataResponse }; +RobotService.RestartModule = { + methodName: "RestartModule", + service: RobotService, + requestStream: false, + responseStream: false, + requestType: robot_v1_robot_pb.RestartModuleRequest, + responseType: robot_v1_robot_pb.RestartModuleResponse +}; + exports.RobotService = RobotService; function RobotServiceClient(serviceHost, options) { @@ -705,5 +714,36 @@ RobotServiceClient.prototype.getCloudMetadata = function getCloudMetadata(reques }; }; +RobotServiceClient.prototype.restartModule = function restartModule(requestMessage, metadata, callback) { + if (arguments.length === 2) { + callback = arguments[1]; + } + var client = grpc.unary(RobotService.RestartModule, { + request: requestMessage, + host: this.serviceHost, + metadata: metadata, + transport: this.options.transport, + debug: this.options.debug, + onEnd: function (response) { + if (callback) { + if (response.status !== grpc.Code.OK) { + var err = new Error(response.statusMessage); + err.code = response.status; + err.metadata = response.trailers; + callback(err, null); + } else { + callback(null, response.message); + } + } + } + }); + return { + cancel: function () { + callback = null; + client.close(); + } + }; +}; + exports.RobotServiceClient = RobotServiceClient; diff --git a/gen/js/service/datamanager/v1/data_manager_grpc_web_pb.js b/gen/js/service/datamanager/v1/data_manager_grpc_web_pb.js index 903c5e570..04f875e29 100644 --- a/gen/js/service/datamanager/v1/data_manager_grpc_web_pb.js +++ b/gen/js/service/datamanager/v1/data_manager_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/datamanager/v1/data_manager.proto diff --git a/gen/js/service/generic/v1/generic_grpc_web_pb.js b/gen/js/service/generic/v1/generic_grpc_web_pb.js index 4e8996b9b..2d4c26129 100644 --- a/gen/js/service/generic/v1/generic_grpc_web_pb.js +++ b/gen/js/service/generic/v1/generic_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/generic/v1/generic.proto diff --git a/gen/js/service/mlmodel/v1/mlmodel_grpc_web_pb.js b/gen/js/service/mlmodel/v1/mlmodel_grpc_web_pb.js index 4b91f93d9..cb903c213 100644 --- a/gen/js/service/mlmodel/v1/mlmodel_grpc_web_pb.js +++ b/gen/js/service/mlmodel/v1/mlmodel_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/mlmodel/v1/mlmodel.proto diff --git a/gen/js/service/motion/v1/motion_grpc_web_pb.js b/gen/js/service/motion/v1/motion_grpc_web_pb.js index edfbdc05c..541b0bf41 100644 --- a/gen/js/service/motion/v1/motion_grpc_web_pb.js +++ b/gen/js/service/motion/v1/motion_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/motion/v1/motion.proto diff --git a/gen/js/service/navigation/v1/navigation_grpc_web_pb.js b/gen/js/service/navigation/v1/navigation_grpc_web_pb.js index 1e708152d..0fe2d78c3 100644 --- a/gen/js/service/navigation/v1/navigation_grpc_web_pb.js +++ b/gen/js/service/navigation/v1/navigation_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/navigation/v1/navigation.proto diff --git a/gen/js/service/sensors/v1/sensors_grpc_web_pb.js b/gen/js/service/sensors/v1/sensors_grpc_web_pb.js index 132d71de2..4dd31bb9b 100644 --- a/gen/js/service/sensors/v1/sensors_grpc_web_pb.js +++ b/gen/js/service/sensors/v1/sensors_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/sensors/v1/sensors.proto diff --git a/gen/js/service/shell/v1/shell_grpc_web_pb.js b/gen/js/service/shell/v1/shell_grpc_web_pb.js index b0ecf65d1..ff23ce5d2 100644 --- a/gen/js/service/shell/v1/shell_grpc_web_pb.js +++ b/gen/js/service/shell/v1/shell_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/shell/v1/shell.proto diff --git a/gen/js/service/slam/v1/slam_grpc_web_pb.js b/gen/js/service/slam/v1/slam_grpc_web_pb.js index f1218765a..e28078ade 100644 --- a/gen/js/service/slam/v1/slam_grpc_web_pb.js +++ b/gen/js/service/slam/v1/slam_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/slam/v1/slam.proto diff --git a/gen/js/service/vision/v1/vision_grpc_web_pb.js b/gen/js/service/vision/v1/vision_grpc_web_pb.js index f64096284..e22d4a4a2 100644 --- a/gen/js/service/vision/v1/vision_grpc_web_pb.js +++ b/gen/js/service/vision/v1/vision_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: service/vision/v1/vision.proto diff --git a/gen/js/stream/v1/stream_grpc_web_pb.js b/gen/js/stream/v1/stream_grpc_web_pb.js index 009166883..a24263e2a 100644 --- a/gen/js/stream/v1/stream_grpc_web_pb.js +++ b/gen/js/stream/v1/stream_grpc_web_pb.js @@ -6,7 +6,7 @@ // Code generated by protoc-gen-grpc-web. DO NOT EDIT. // versions: -// protoc-gen-grpc-web v1.4.2 +// protoc-gen-grpc-web v1.5.0 // protoc v0.0.0 // source: stream/v1/stream.proto diff --git a/proto/viam/robot/v1/robot.proto b/proto/viam/robot/v1/robot.proto index 2ffe5718a..173853937 100644 --- a/proto/viam/robot/v1/robot.proto +++ b/proto/viam/robot/v1/robot.proto @@ -127,6 +127,12 @@ service RobotService { get: "/viam/api/v1/cloud_metadata" }; } + + rpc RestartModule(RestartModuleRequest) returns (RestartModuleResponse) { + option (google.api.http) = { + post: "/viam/api/v1/restart_module" + }; + } } message FrameSystemConfig { @@ -330,3 +336,13 @@ message GetCloudMetadataResponse { string machine_id = 4; string machine_part_id = 5; } + +message RestartModuleRequest { + oneof id_or_name { + // ID is for registry modules, name for local modules + string module_id = 1; + string module_name = 2; + } +} + +message RestartModuleResponse {} diff --git a/robot/v1/robot.pb.go b/robot/v1/robot.pb.go index d6a7beb01..f296c97dd 100644 --- a/robot/v1/robot.pb.go +++ b/robot/v1/robot.pb.go @@ -2213,6 +2213,126 @@ func (x *GetCloudMetadataResponse) GetMachinePartId() string { return "" } +type RestartModuleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to IdOrName: + // + // *RestartModuleRequest_ModuleId + // *RestartModuleRequest_ModuleName + IdOrName isRestartModuleRequest_IdOrName `protobuf_oneof:"id_or_name"` +} + +func (x *RestartModuleRequest) Reset() { + *x = RestartModuleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestartModuleRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestartModuleRequest) ProtoMessage() {} + +func (x *RestartModuleRequest) ProtoReflect() protoreflect.Message { + mi := &file_robot_v1_robot_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestartModuleRequest.ProtoReflect.Descriptor instead. +func (*RestartModuleRequest) Descriptor() ([]byte, []int) { + return file_robot_v1_robot_proto_rawDescGZIP(), []int{43} +} + +func (m *RestartModuleRequest) GetIdOrName() isRestartModuleRequest_IdOrName { + if m != nil { + return m.IdOrName + } + return nil +} + +func (x *RestartModuleRequest) GetModuleId() string { + if x, ok := x.GetIdOrName().(*RestartModuleRequest_ModuleId); ok { + return x.ModuleId + } + return "" +} + +func (x *RestartModuleRequest) GetModuleName() string { + if x, ok := x.GetIdOrName().(*RestartModuleRequest_ModuleName); ok { + return x.ModuleName + } + return "" +} + +type isRestartModuleRequest_IdOrName interface { + isRestartModuleRequest_IdOrName() +} + +type RestartModuleRequest_ModuleId struct { + // ID is for registry modules, name for local modules + ModuleId string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,proto3,oneof"` +} + +type RestartModuleRequest_ModuleName struct { + ModuleName string `protobuf:"bytes,2,opt,name=module_name,json=moduleName,proto3,oneof"` +} + +func (*RestartModuleRequest_ModuleId) isRestartModuleRequest_IdOrName() {} + +func (*RestartModuleRequest_ModuleName) isRestartModuleRequest_IdOrName() {} + +type RestartModuleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RestartModuleResponse) Reset() { + *x = RestartModuleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_robot_v1_robot_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestartModuleResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestartModuleResponse) ProtoMessage() {} + +func (x *RestartModuleResponse) ProtoReflect() protoreflect.Message { + mi := &file_robot_v1_robot_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestartModuleResponse.ProtoReflect.Descriptor instead. +func (*RestartModuleResponse) Descriptor() ([]byte, []int) { + return file_robot_v1_robot_proto_rawDescGZIP(), []int{44} +} + var File_robot_v1_robot_proto protoreflect.FileDescriptor var file_robot_v1_robot_proto_rawDesc = []byte{ @@ -2462,160 +2582,176 @@ var file_robot_v1_robot_proto_rawDesc = []byte{ 0x52, 0x09, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x50, 0x61, 0x72, - 0x74, 0x49, 0x64, 0x2a, 0x7a, 0x0a, 0x12, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x50, 0x45, 0x45, - 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, - 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, - 0x1d, 0x0a, 0x19, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x10, 0x01, 0x12, 0x1f, - 0x0a, 0x1b, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x52, 0x54, 0x43, 0x10, 0x02, 0x32, - 0xdb, 0x11, 0x0a, 0x0c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x80, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, - 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6c, - 0x69, 0x73, 0x74, 0x12, 0x78, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, - 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7f, 0x0a, - 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x23, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x9d, - 0x01, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x50, 0x43, 0x53, 0x75, - 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, - 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, - 0x50, 0x43, 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x50, 0x43, 0x53, 0x75, 0x62, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x70, 0x63, - 0x5f, 0x73, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x88, - 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, - 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1e, 0x2f, 0x76, 0x69, 0x61, 0x6d, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x8d, 0x01, 0x0a, 0x11, 0x42, 0x6c, - 0x6f, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, - 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x6f, - 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1d, 0x2f, 0x76, 0x69, 0x61, + 0x74, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x09, 0x6d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0b, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0c, 0x0a, + 0x0a, 0x69, 0x64, 0x5f, 0x6f, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x52, + 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x7a, 0x0a, 0x12, 0x50, 0x65, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x50, 0x45, + 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, + 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x50, 0x43, 0x10, 0x01, 0x12, + 0x1f, 0x0a, 0x1b, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, + 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x45, 0x42, 0x52, 0x54, 0x43, 0x10, 0x02, + 0x32, 0xdc, 0x12, 0x0a, 0x0c, 0x52, 0x6f, 0x62, 0x6f, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0x80, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, + 0x6c, 0x69, 0x73, 0x74, 0x12, 0x78, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, + 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x7f, + 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, + 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x12, + 0x9d, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x50, 0x43, 0x53, + 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, + 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x50, 0x43, 0x53, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x50, 0x43, 0x53, 0x75, + 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x70, + 0x63, 0x5f, 0x73, 0x75, 0x62, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x12, + 0x88, 0x01, 0x0a, 0x0f, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x76, 0x69, 0x61, + 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, + 0x6c, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x22, 0x1e, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x94, 0x01, 0x0a, 0x12, 0x44, 0x69, - 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, - 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, - 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, - 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x69, 0x73, 0x63, - 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x90, 0x01, 0x0a, 0x11, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, - 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x22, 0x12, 0x20, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, - 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x12, 0x8c, 0x01, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, - 0x6d, 0x50, 0x6f, 0x73, 0x65, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, - 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x50, - 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x70, 0x6f, - 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, - 0x50, 0x43, 0x44, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x43, 0x44, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, - 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, - 0x6d, 0x50, 0x43, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x76, 0x31, 0x2f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x70, 0x63, 0x64, 0x12, 0x6b, 0x0a, - 0x09, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x8d, 0x01, 0x0a, 0x11, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, + 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, + 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1d, 0x2f, 0x76, 0x69, + 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x94, 0x01, 0x0a, 0x12, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, + 0x73, 0x12, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, + 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, + 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x69, 0x73, + 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, + 0x73, 0x12, 0x90, 0x01, 0x0a, 0x11, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, + 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x28, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x22, 0x12, 0x20, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x8c, 0x01, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x50, 0x6f, 0x73, 0x65, 0x12, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, + 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, + 0x50, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x69, 0x61, 0x6d, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x70, + 0x6f, 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x50, 0x43, 0x44, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x43, + 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x50, 0x43, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x70, 0x63, 0x64, 0x12, 0x6b, + 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x7d, 0x0a, 0x0c, 0x53, 0x74, - 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, - 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, - 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, - 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, 0x69, - 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x67, 0x0a, 0x07, 0x53, 0x74, 0x6f, - 0x70, 0x41, 0x6c, 0x6c, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x69, - 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x61, - 0x6c, 0x6c, 0x12, 0x76, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, - 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x17, 0x22, 0x15, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, - 0x31, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9d, 0x01, 0x0a, 0x14, 0x53, - 0x65, 0x6e, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, - 0x65, 0x61, 0x74, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, - 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x76, + 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x7d, 0x0a, 0x0c, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x2e, 0x76, 0x69, + 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x76, + 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x30, 0x01, 0x12, 0x67, 0x0a, 0x07, 0x53, 0x74, + 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x12, 0x1d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, + 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, + 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x6f, 0x70, 0x5f, + 0x61, 0x6c, 0x6c, 0x12, 0x76, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, + 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x17, 0x22, 0x15, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x76, 0x31, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x9d, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x72, 0x74, - 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x26, 0x22, 0x24, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x76, 0x31, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, - 0x2f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x56, 0x0a, 0x03, 0x4c, 0x6f, - 0x67, 0x12, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x76, - 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, - 0x22, 0x10, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, - 0x6f, 0x67, 0x12, 0x88, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, - 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x6f, 0x75, 0x64, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, - 0x12, 0x1b, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, - 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x2d, 0x0a, - 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, - 0x76, 0x31, 0x5a, 0x18, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x62, 0x65, 0x61, 0x74, 0x12, 0x2a, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x2b, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x72, + 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x24, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, + 0x7d, 0x2f, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x56, 0x0a, 0x03, 0x4c, + 0x6f, 0x67, 0x12, 0x19, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, + 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x12, 0x22, 0x10, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x6c, 0x6f, 0x67, 0x12, 0x88, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x26, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, + 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x6f, 0x75, + 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x27, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x7f, + 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, + 0x23, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x1d, 0x22, 0x1b, 0x2f, 0x76, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, + 0x2f, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x42, + 0x2d, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x72, 0x6f, 0x62, 0x6f, + 0x74, 0x2e, 0x76, 0x31, 0x5a, 0x18, 0x67, 0x6f, 0x2e, 0x76, 0x69, 0x61, 0x6d, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x6f, 0x62, 0x6f, 0x74, 0x2f, 0x76, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2631,7 +2767,7 @@ func file_robot_v1_robot_proto_rawDescGZIP() []byte { } var file_robot_v1_robot_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_robot_v1_robot_proto_msgTypes = make([]protoimpl.MessageInfo, 43) +var file_robot_v1_robot_proto_msgTypes = make([]protoimpl.MessageInfo, 45) var file_robot_v1_robot_proto_goTypes = []interface{}{ (PeerConnectionType)(0), // 0: viam.robot.v1.PeerConnectionType (*FrameSystemConfig)(nil), // 1: viam.robot.v1.FrameSystemConfig @@ -2677,48 +2813,50 @@ var file_robot_v1_robot_proto_goTypes = []interface{}{ (*LogResponse)(nil), // 41: viam.robot.v1.LogResponse (*GetCloudMetadataRequest)(nil), // 42: viam.robot.v1.GetCloudMetadataRequest (*GetCloudMetadataResponse)(nil), // 43: viam.robot.v1.GetCloudMetadataResponse - (*v1.Transform)(nil), // 44: viam.common.v1.Transform - (*structpb.Struct)(nil), // 45: google.protobuf.Struct - (*v1.PoseInFrame)(nil), // 46: viam.common.v1.PoseInFrame - (*v1.ResourceName)(nil), // 47: viam.common.v1.ResourceName - (*timestamppb.Timestamp)(nil), // 48: google.protobuf.Timestamp - (*durationpb.Duration)(nil), // 49: google.protobuf.Duration - (*v1.LogEntry)(nil), // 50: viam.common.v1.LogEntry + (*RestartModuleRequest)(nil), // 44: viam.robot.v1.RestartModuleRequest + (*RestartModuleResponse)(nil), // 45: viam.robot.v1.RestartModuleResponse + (*v1.Transform)(nil), // 46: viam.common.v1.Transform + (*structpb.Struct)(nil), // 47: google.protobuf.Struct + (*v1.PoseInFrame)(nil), // 48: viam.common.v1.PoseInFrame + (*v1.ResourceName)(nil), // 49: viam.common.v1.ResourceName + (*timestamppb.Timestamp)(nil), // 50: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 51: google.protobuf.Duration + (*v1.LogEntry)(nil), // 52: viam.common.v1.LogEntry } var file_robot_v1_robot_proto_depIdxs = []int32{ - 44, // 0: viam.robot.v1.FrameSystemConfig.frame:type_name -> viam.common.v1.Transform - 45, // 1: viam.robot.v1.FrameSystemConfig.kinematics:type_name -> google.protobuf.Struct - 44, // 2: viam.robot.v1.FrameSystemConfigRequest.supplemental_transforms:type_name -> viam.common.v1.Transform + 46, // 0: viam.robot.v1.FrameSystemConfig.frame:type_name -> viam.common.v1.Transform + 47, // 1: viam.robot.v1.FrameSystemConfig.kinematics:type_name -> google.protobuf.Struct + 46, // 2: viam.robot.v1.FrameSystemConfigRequest.supplemental_transforms:type_name -> viam.common.v1.Transform 1, // 3: viam.robot.v1.FrameSystemConfigResponse.frame_system_configs:type_name -> viam.robot.v1.FrameSystemConfig - 46, // 4: viam.robot.v1.TransformPoseRequest.source:type_name -> viam.common.v1.PoseInFrame - 44, // 5: viam.robot.v1.TransformPoseRequest.supplemental_transforms:type_name -> viam.common.v1.Transform - 46, // 6: viam.robot.v1.TransformPoseResponse.pose:type_name -> viam.common.v1.PoseInFrame - 47, // 7: viam.robot.v1.ResourceNamesResponse.resources:type_name -> viam.common.v1.ResourceName - 47, // 8: viam.robot.v1.ResourceRPCSubtype.subtype:type_name -> viam.common.v1.ResourceName + 48, // 4: viam.robot.v1.TransformPoseRequest.source:type_name -> viam.common.v1.PoseInFrame + 46, // 5: viam.robot.v1.TransformPoseRequest.supplemental_transforms:type_name -> viam.common.v1.Transform + 48, // 6: viam.robot.v1.TransformPoseResponse.pose:type_name -> viam.common.v1.PoseInFrame + 49, // 7: viam.robot.v1.ResourceNamesResponse.resources:type_name -> viam.common.v1.ResourceName + 49, // 8: viam.robot.v1.ResourceRPCSubtype.subtype:type_name -> viam.common.v1.ResourceName 10, // 9: viam.robot.v1.ResourceRPCSubtypesResponse.resource_rpc_subtypes:type_name -> viam.robot.v1.ResourceRPCSubtype - 45, // 10: viam.robot.v1.Operation.arguments:type_name -> google.protobuf.Struct - 48, // 11: viam.robot.v1.Operation.started:type_name -> google.protobuf.Timestamp + 47, // 10: viam.robot.v1.Operation.arguments:type_name -> google.protobuf.Struct + 50, // 11: viam.robot.v1.Operation.started:type_name -> google.protobuf.Timestamp 13, // 12: viam.robot.v1.GetOperationsResponse.operations:type_name -> viam.robot.v1.Operation 0, // 13: viam.robot.v1.PeerConnectionInfo.type:type_name -> viam.robot.v1.PeerConnectionType 20, // 14: viam.robot.v1.Session.peer_connection_info:type_name -> viam.robot.v1.PeerConnectionInfo 21, // 15: viam.robot.v1.GetSessionsResponse.sessions:type_name -> viam.robot.v1.Session 24, // 16: viam.robot.v1.Discovery.query:type_name -> viam.robot.v1.DiscoveryQuery - 45, // 17: viam.robot.v1.Discovery.results:type_name -> google.protobuf.Struct + 47, // 17: viam.robot.v1.Discovery.results:type_name -> google.protobuf.Struct 24, // 18: viam.robot.v1.DiscoverComponentsRequest.queries:type_name -> viam.robot.v1.DiscoveryQuery 25, // 19: viam.robot.v1.DiscoverComponentsResponse.discovery:type_name -> viam.robot.v1.Discovery - 47, // 20: viam.robot.v1.Status.name:type_name -> viam.common.v1.ResourceName - 45, // 21: viam.robot.v1.Status.status:type_name -> google.protobuf.Struct - 48, // 22: viam.robot.v1.Status.last_reconfigured:type_name -> google.protobuf.Timestamp - 47, // 23: viam.robot.v1.GetStatusRequest.resource_names:type_name -> viam.common.v1.ResourceName + 49, // 20: viam.robot.v1.Status.name:type_name -> viam.common.v1.ResourceName + 47, // 21: viam.robot.v1.Status.status:type_name -> google.protobuf.Struct + 50, // 22: viam.robot.v1.Status.last_reconfigured:type_name -> google.protobuf.Timestamp + 49, // 23: viam.robot.v1.GetStatusRequest.resource_names:type_name -> viam.common.v1.ResourceName 28, // 24: viam.robot.v1.GetStatusResponse.status:type_name -> viam.robot.v1.Status - 47, // 25: viam.robot.v1.StreamStatusRequest.resource_names:type_name -> viam.common.v1.ResourceName - 49, // 26: viam.robot.v1.StreamStatusRequest.every:type_name -> google.protobuf.Duration + 49, // 25: viam.robot.v1.StreamStatusRequest.resource_names:type_name -> viam.common.v1.ResourceName + 51, // 26: viam.robot.v1.StreamStatusRequest.every:type_name -> google.protobuf.Duration 28, // 27: viam.robot.v1.StreamStatusResponse.status:type_name -> viam.robot.v1.Status - 47, // 28: viam.robot.v1.StopExtraParameters.name:type_name -> viam.common.v1.ResourceName - 45, // 29: viam.robot.v1.StopExtraParameters.params:type_name -> google.protobuf.Struct + 49, // 28: viam.robot.v1.StopExtraParameters.name:type_name -> viam.common.v1.ResourceName + 47, // 29: viam.robot.v1.StopExtraParameters.params:type_name -> google.protobuf.Struct 33, // 30: viam.robot.v1.StopAllRequest.extra:type_name -> viam.robot.v1.StopExtraParameters - 49, // 31: viam.robot.v1.StartSessionResponse.heartbeat_window:type_name -> google.protobuf.Duration - 50, // 32: viam.robot.v1.LogRequest.logs:type_name -> viam.common.v1.LogEntry + 51, // 31: viam.robot.v1.StartSessionResponse.heartbeat_window:type_name -> google.protobuf.Duration + 52, // 32: viam.robot.v1.LogRequest.logs:type_name -> viam.common.v1.LogEntry 14, // 33: viam.robot.v1.RobotService.GetOperations:input_type -> viam.robot.v1.GetOperationsRequest 22, // 34: viam.robot.v1.RobotService.GetSessions:input_type -> viam.robot.v1.GetSessionsRequest 8, // 35: viam.robot.v1.RobotService.ResourceNames:input_type -> viam.robot.v1.ResourceNamesRequest @@ -2736,25 +2874,27 @@ var file_robot_v1_robot_proto_depIdxs = []int32{ 38, // 47: viam.robot.v1.RobotService.SendSessionHeartbeat:input_type -> viam.robot.v1.SendSessionHeartbeatRequest 40, // 48: viam.robot.v1.RobotService.Log:input_type -> viam.robot.v1.LogRequest 42, // 49: viam.robot.v1.RobotService.GetCloudMetadata:input_type -> viam.robot.v1.GetCloudMetadataRequest - 15, // 50: viam.robot.v1.RobotService.GetOperations:output_type -> viam.robot.v1.GetOperationsResponse - 23, // 51: viam.robot.v1.RobotService.GetSessions:output_type -> viam.robot.v1.GetSessionsResponse - 9, // 52: viam.robot.v1.RobotService.ResourceNames:output_type -> viam.robot.v1.ResourceNamesResponse - 12, // 53: viam.robot.v1.RobotService.ResourceRPCSubtypes:output_type -> viam.robot.v1.ResourceRPCSubtypesResponse - 17, // 54: viam.robot.v1.RobotService.CancelOperation:output_type -> viam.robot.v1.CancelOperationResponse - 19, // 55: viam.robot.v1.RobotService.BlockForOperation:output_type -> viam.robot.v1.BlockForOperationResponse - 27, // 56: viam.robot.v1.RobotService.DiscoverComponents:output_type -> viam.robot.v1.DiscoverComponentsResponse - 3, // 57: viam.robot.v1.RobotService.FrameSystemConfig:output_type -> viam.robot.v1.FrameSystemConfigResponse - 5, // 58: viam.robot.v1.RobotService.TransformPose:output_type -> viam.robot.v1.TransformPoseResponse - 7, // 59: viam.robot.v1.RobotService.TransformPCD:output_type -> viam.robot.v1.TransformPCDResponse - 30, // 60: viam.robot.v1.RobotService.GetStatus:output_type -> viam.robot.v1.GetStatusResponse - 32, // 61: viam.robot.v1.RobotService.StreamStatus:output_type -> viam.robot.v1.StreamStatusResponse - 35, // 62: viam.robot.v1.RobotService.StopAll:output_type -> viam.robot.v1.StopAllResponse - 37, // 63: viam.robot.v1.RobotService.StartSession:output_type -> viam.robot.v1.StartSessionResponse - 39, // 64: viam.robot.v1.RobotService.SendSessionHeartbeat:output_type -> viam.robot.v1.SendSessionHeartbeatResponse - 41, // 65: viam.robot.v1.RobotService.Log:output_type -> viam.robot.v1.LogResponse - 43, // 66: viam.robot.v1.RobotService.GetCloudMetadata:output_type -> viam.robot.v1.GetCloudMetadataResponse - 50, // [50:67] is the sub-list for method output_type - 33, // [33:50] is the sub-list for method input_type + 44, // 50: viam.robot.v1.RobotService.RestartModule:input_type -> viam.robot.v1.RestartModuleRequest + 15, // 51: viam.robot.v1.RobotService.GetOperations:output_type -> viam.robot.v1.GetOperationsResponse + 23, // 52: viam.robot.v1.RobotService.GetSessions:output_type -> viam.robot.v1.GetSessionsResponse + 9, // 53: viam.robot.v1.RobotService.ResourceNames:output_type -> viam.robot.v1.ResourceNamesResponse + 12, // 54: viam.robot.v1.RobotService.ResourceRPCSubtypes:output_type -> viam.robot.v1.ResourceRPCSubtypesResponse + 17, // 55: viam.robot.v1.RobotService.CancelOperation:output_type -> viam.robot.v1.CancelOperationResponse + 19, // 56: viam.robot.v1.RobotService.BlockForOperation:output_type -> viam.robot.v1.BlockForOperationResponse + 27, // 57: viam.robot.v1.RobotService.DiscoverComponents:output_type -> viam.robot.v1.DiscoverComponentsResponse + 3, // 58: viam.robot.v1.RobotService.FrameSystemConfig:output_type -> viam.robot.v1.FrameSystemConfigResponse + 5, // 59: viam.robot.v1.RobotService.TransformPose:output_type -> viam.robot.v1.TransformPoseResponse + 7, // 60: viam.robot.v1.RobotService.TransformPCD:output_type -> viam.robot.v1.TransformPCDResponse + 30, // 61: viam.robot.v1.RobotService.GetStatus:output_type -> viam.robot.v1.GetStatusResponse + 32, // 62: viam.robot.v1.RobotService.StreamStatus:output_type -> viam.robot.v1.StreamStatusResponse + 35, // 63: viam.robot.v1.RobotService.StopAll:output_type -> viam.robot.v1.StopAllResponse + 37, // 64: viam.robot.v1.RobotService.StartSession:output_type -> viam.robot.v1.StartSessionResponse + 39, // 65: viam.robot.v1.RobotService.SendSessionHeartbeat:output_type -> viam.robot.v1.SendSessionHeartbeatResponse + 41, // 66: viam.robot.v1.RobotService.Log:output_type -> viam.robot.v1.LogResponse + 43, // 67: viam.robot.v1.RobotService.GetCloudMetadata:output_type -> viam.robot.v1.GetCloudMetadataResponse + 45, // 68: viam.robot.v1.RobotService.RestartModule:output_type -> viam.robot.v1.RestartModuleResponse + 51, // [51:69] is the sub-list for method output_type + 33, // [33:51] is the sub-list for method input_type 33, // [33:33] is the sub-list for extension type_name 33, // [33:33] is the sub-list for extension extendee 0, // [0:33] is the sub-list for field type_name @@ -3282,17 +3422,45 @@ func file_robot_v1_robot_proto_init() { return nil } } + file_robot_v1_robot_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestartModuleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_robot_v1_robot_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestartModuleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_robot_v1_robot_proto_msgTypes[12].OneofWrappers = []interface{}{} file_robot_v1_robot_proto_msgTypes[19].OneofWrappers = []interface{}{} file_robot_v1_robot_proto_msgTypes[20].OneofWrappers = []interface{}{} + file_robot_v1_robot_proto_msgTypes[43].OneofWrappers = []interface{}{ + (*RestartModuleRequest_ModuleId)(nil), + (*RestartModuleRequest_ModuleName)(nil), + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_robot_v1_robot_proto_rawDesc, NumEnums: 1, - NumMessages: 43, + NumMessages: 45, NumExtensions: 0, NumServices: 1, }, diff --git a/robot/v1/robot.pb.gw.go b/robot/v1/robot.pb.gw.go index a30d61430..e05c50389 100644 --- a/robot/v1/robot.pb.gw.go +++ b/robot/v1/robot.pb.gw.go @@ -561,6 +561,42 @@ func local_request_RobotService_GetCloudMetadata_0(ctx context.Context, marshale } +var ( + filter_RobotService_RestartModule_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_RobotService_RestartModule_0(ctx context.Context, marshaler runtime.Marshaler, client RobotServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RestartModuleRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RobotService_RestartModule_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.RestartModule(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_RobotService_RestartModule_0(ctx context.Context, marshaler runtime.Marshaler, server RobotServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RestartModuleRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RobotService_RestartModule_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.RestartModule(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterRobotServiceHandlerServer registers the http handlers for service RobotService to "mux". // UnaryRPC :call RobotServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -974,6 +1010,31 @@ func RegisterRobotServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu }) + mux.Handle("POST", pattern_RobotService_RestartModule_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/viam.robot.v1.RobotService/RestartModule", runtime.WithHTTPPathPattern("/viam/api/v1/restart_module")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_RobotService_RestartModule_0(annotatedContext, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_RobotService_RestartModule_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1389,6 +1450,28 @@ func RegisterRobotServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu }) + mux.Handle("POST", pattern_RobotService_RestartModule_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/viam.robot.v1.RobotService/RestartModule", runtime.WithHTTPPathPattern("/viam/api/v1/restart_module")) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_RobotService_RestartModule_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) + if err != nil { + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) + return + } + + forward_RobotService_RestartModule_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -1426,6 +1509,8 @@ var ( pattern_RobotService_Log_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"viam", "api", "v1", "log"}, "")) pattern_RobotService_GetCloudMetadata_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"viam", "api", "v1", "cloud_metadata"}, "")) + + pattern_RobotService_RestartModule_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"viam", "api", "v1", "restart_module"}, "")) ) var ( @@ -1462,4 +1547,6 @@ var ( forward_RobotService_Log_0 = runtime.ForwardResponseMessage forward_RobotService_GetCloudMetadata_0 = runtime.ForwardResponseMessage + + forward_RobotService_RestartModule_0 = runtime.ForwardResponseMessage ) diff --git a/robot/v1/robot_grpc.pb.go b/robot/v1/robot_grpc.pb.go index f77ca3942..70a23a225 100644 --- a/robot/v1/robot_grpc.pb.go +++ b/robot/v1/robot_grpc.pb.go @@ -52,6 +52,7 @@ type RobotServiceClient interface { Log(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (*LogResponse, error) // GetCloudMetadata returns app-related information about the robot. GetCloudMetadata(ctx context.Context, in *GetCloudMetadataRequest, opts ...grpc.CallOption) (*GetCloudMetadataResponse, error) + RestartModule(ctx context.Context, in *RestartModuleRequest, opts ...grpc.CallOption) (*RestartModuleResponse, error) } type robotServiceClient struct { @@ -238,6 +239,15 @@ func (c *robotServiceClient) GetCloudMetadata(ctx context.Context, in *GetCloudM return out, nil } +func (c *robotServiceClient) RestartModule(ctx context.Context, in *RestartModuleRequest, opts ...grpc.CallOption) (*RestartModuleResponse, error) { + out := new(RestartModuleResponse) + err := c.cc.Invoke(ctx, "/viam.robot.v1.RobotService/RestartModule", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // RobotServiceServer is the server API for RobotService service. // All implementations must embed UnimplementedRobotServiceServer // for forward compatibility @@ -272,6 +282,7 @@ type RobotServiceServer interface { Log(context.Context, *LogRequest) (*LogResponse, error) // GetCloudMetadata returns app-related information about the robot. GetCloudMetadata(context.Context, *GetCloudMetadataRequest) (*GetCloudMetadataResponse, error) + RestartModule(context.Context, *RestartModuleRequest) (*RestartModuleResponse, error) mustEmbedUnimplementedRobotServiceServer() } @@ -330,6 +341,9 @@ func (UnimplementedRobotServiceServer) Log(context.Context, *LogRequest) (*LogRe func (UnimplementedRobotServiceServer) GetCloudMetadata(context.Context, *GetCloudMetadataRequest) (*GetCloudMetadataResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCloudMetadata not implemented") } +func (UnimplementedRobotServiceServer) RestartModule(context.Context, *RestartModuleRequest) (*RestartModuleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RestartModule not implemented") +} func (UnimplementedRobotServiceServer) mustEmbedUnimplementedRobotServiceServer() {} // UnsafeRobotServiceServer may be embedded to opt out of forward compatibility for this service. @@ -652,6 +666,24 @@ func _RobotService_GetCloudMetadata_Handler(srv interface{}, ctx context.Context return interceptor(ctx, in, info, handler) } +func _RobotService_RestartModule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RestartModuleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RobotServiceServer).RestartModule(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/viam.robot.v1.RobotService/RestartModule", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RobotServiceServer).RestartModule(ctx, req.(*RestartModuleRequest)) + } + return interceptor(ctx, in, info, handler) +} + // RobotService_ServiceDesc is the grpc.ServiceDesc for RobotService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -723,6 +755,10 @@ var RobotService_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetCloudMetadata", Handler: _RobotService_GetCloudMetadata_Handler, }, + { + MethodName: "RestartModule", + Handler: _RobotService_RestartModule_Handler, + }, }, Streams: []grpc.StreamDesc{ { diff --git a/service/datamanager/v1/data_manager.pb.gw.go b/service/datamanager/v1/data_manager.pb.gw.go index 5f497f653..5a7e61ab2 100644 --- a/service/datamanager/v1/data_manager.pb.gw.go +++ b/service/datamanager/v1/data_manager.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -107,7 +107,7 @@ var ( ) func request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client DataManagerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -140,7 +140,7 @@ func request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runti } func local_request_DataManagerService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server DataManagerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( diff --git a/service/generic/v1/generic.pb.gw.go b/service/generic/v1/generic.pb.gw.go index 3c74de8b6..298562d36 100644 --- a/service/generic/v1/generic.pb.gw.go +++ b/service/generic/v1/generic.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -37,7 +37,7 @@ var ( ) func request_GenericService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client GenericServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -70,7 +70,7 @@ func request_GenericService_DoCommand_0(ctx context.Context, marshaler runtime.M } func local_request_GenericService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server GenericServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( diff --git a/service/motion/v1/motion.pb.gw.go b/service/motion/v1/motion.pb.gw.go index 64bb4bed0..1b1262cea 100644 --- a/service/motion/v1/motion.pb.gw.go +++ b/service/motion/v1/motion.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -527,7 +527,7 @@ var ( ) func request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client MotionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -560,7 +560,7 @@ func request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Ma } func local_request_MotionService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server MotionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( diff --git a/service/sensors/v1/sensors.pb.gw.go b/service/sensors/v1/sensors.pb.gw.go index b0c69d02f..9fc2a2808 100644 --- a/service/sensors/v1/sensors.pb.gw.go +++ b/service/sensors/v1/sensors.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -177,7 +177,7 @@ var ( ) func request_SensorsService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client SensorsServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -210,7 +210,7 @@ func request_SensorsService_DoCommand_0(ctx context.Context, marshaler runtime.M } func local_request_SensorsService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server SensorsServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( diff --git a/service/shell/v1/shell.pb.gw.go b/service/shell/v1/shell.pb.gw.go index ebf18f880..69eff6cda 100644 --- a/service/shell/v1/shell.pb.gw.go +++ b/service/shell/v1/shell.pb.gw.go @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "go.viam.com/api/common/v1" + v1_0 "go.viam.com/api/common/v1" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -80,7 +80,7 @@ var ( ) func request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, client ShellServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var ( @@ -113,7 +113,7 @@ func request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Mar } func local_request_ShellService_DoCommand_0(ctx context.Context, marshaler runtime.Marshaler, server ShellServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq v1.DoCommandRequest + var protoReq v1_0.DoCommandRequest var metadata runtime.ServerMetadata var (